Skip to content

Commit

Permalink
Update src/Data/StringVariants/NullableNonEmptyText.hs
Browse files Browse the repository at this point in the history
Co-authored-by: Matt von Hagen (Parsons) <parsonsmatt@gmail.com>
  • Loading branch information
friedbrice and parsonsmatt committed Jan 4, 2024
1 parent 72fbacd commit a9e8dbb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/Data/StringVariants/NullableNonEmptyText.hs
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,10 @@ import Prelude
--
-- With this type definition, these four JSON objects below are valid and parse as @Person "Daniel" nullNonEmptyText@.
--
-- @@@
-- {"name": "Daniel"}
-- {"name": "Daniel", catchphrase: null}
-- {"name": "Daniel", catchphrase: ""}
-- {"name": "Daniel", catchphrase: " "}
-- @@@
-- > {"name": "Daniel"}
-- > {"name": "Daniel", catchphrase: null}
-- > {"name": "Daniel", catchphrase: ""}
-- > {"name": "Daniel", catchphrase: " "}
--
-- These two JSON objects parses as @Person "Daniel" (mkNullableNonEmptyText "Yabba-Dabba Do!")@
--
Expand Down

0 comments on commit a9e8dbb

Please sign in to comment.