Skip to content

Commit c4feb91

Browse files
authored
Merge pull request #50 from Jwhiles/master
correct a typo in getFieldOptional docs
2 parents 423a843 + ead3245 commit c4feb91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Data/Argonaut/Decode/Combinators.purs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ infix 7 getFieldOptional' as .:?
7676
-- |
7777
-- | This function will treat `null` as a value and attempt to decode it into your desired type.
7878
-- | If you would like to treat `null` values the same as absent values, use
79-
-- | `getFieldOptional` (`.:?`) instead.
79+
-- | `getFieldOptional'` (`.:?`) instead.
8080
getFieldOptional :: forall a. DecodeJson a => FO.Object Json -> String -> Either String (Maybe a)
8181
getFieldOptional o s =
8282
maybe

0 commit comments

Comments
 (0)