From ead32455a89591564d1b35489e762c812c7f7c31 Mon Sep 17 00:00:00 2001 From: John Whiles Date: Mon, 28 Jan 2019 10:01:24 +0000 Subject: [PATCH] correct a typo in getFieldOptional docs --- src/Data/Argonaut/Decode/Combinators.purs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Data/Argonaut/Decode/Combinators.purs b/src/Data/Argonaut/Decode/Combinators.purs index bf748ba..932a944 100644 --- a/src/Data/Argonaut/Decode/Combinators.purs +++ b/src/Data/Argonaut/Decode/Combinators.purs @@ -76,7 +76,7 @@ infix 7 getFieldOptional' as .:? -- | -- | This function will treat `null` as a value and attempt to decode it into your desired type. -- | If you would like to treat `null` values the same as absent values, use --- | `getFieldOptional` (`.:?`) instead. +-- | `getFieldOptional'` (`.:?`) instead. getFieldOptional :: forall a. DecodeJson a => FO.Object Json -> String -> Either String (Maybe a) getFieldOptional o s = maybe