We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1509831 commit 55e658aCopy full SHA for 55e658a
README.md
@@ -18,7 +18,7 @@ type Config =
18
, count :: Int
19
}
20
21
-readConfig :: Foreign Object -> Either String Config
+readConfig :: Object String -> Either String Config
22
readConfig env = { greeting: _, count: _ }
23
<$> value "GREETING"
24
<*> (value "COUNT" >>= Int.fromString >>> note "Invalid COUNT")
0 commit comments