Skip to content

Commit

Permalink
Disambiguate string type
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjaguarpaw committed Nov 2, 2023
1 parent 37f1646 commit 0f10726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Test/Toml/Gen.hs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ genPiece = Piece <$> Gen.choice [bare, quoted]
bare = liftA2 Text.cons Gen.alpha $ Gen.text (Range.constant 1 10) alphadashes

alphadashes :: Gen Char
alphadashes = Gen.choice [Gen.alphaNum, Gen.element "_-"]
alphadashes = Gen.choice [Gen.alphaNum, Gen.element ("_-" :: [Char])]

quoted :: Gen Text
quoted = genNotEscape $ Gen.choice
Expand Down

0 comments on commit 0f10726

Please sign in to comment.