From 0177510b8fd451064070ad8d38d0ee6bda8144c1 Mon Sep 17 00:00:00 2001 From: Antoine Leblanc Date: Tue, 4 Apr 2023 13:27:08 +0200 Subject: [PATCH] Fix haskell error in example code block Fix trivial error in documentation. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8620 GitOrigin-RevId: 1b8410ae213b1e5f0954bdf4e957d29f1a668696 --- server/documentation/deep-dives/managed.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/documentation/deep-dives/managed.md b/server/documentation/deep-dives/managed.md index 38fd29ac642..c1bfc5a5127 100644 --- a/server/documentation/deep-dives/managed.md +++ b/server/documentation/deep-dives/managed.md @@ -50,7 +50,7 @@ newtype Managed a = Managed (forall r . (a -> IO r) -> IO r) With it, the above block of code can be rewritten as: ```haskell -main = do +main = runManaged do loggers <- managed withLoggers pgPool <- managed withPGPool mssqlPool <- managed withMSSQLPool