Skip to content

Commit ead3245

Browse files
authored
correct a typo in getFieldOptional docs
1 parent 423a843 commit ead3245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)