We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 535630d commit cf4578bCopy full SHA for cf4578b
test/Main.purs
@@ -448,6 +448,13 @@ main = do
448
parseTest "1*2+3/4-5" (-3) exprTest
449
parseTest "ab?" "ab" manySatisfyTest
450
451
+ parseTest "𝅘𝅥𝅘𝅥𝅮x𝅘𝅥𝅯" "𝅘𝅥𝅘𝅥𝅮x𝅘𝅥𝅯" do
452
+ quarter <- anyChar
453
+ eighth <- string "x" <|> string "𝅘𝅥𝅮"
454
+ letterx <- string "𝅘𝅥𝅯" <|> string "x"
455
+ sixteenth <- string "𝅘𝅥𝅯" <|> string "x"
456
+ pure $ singleton quarter <> eighth <> letterx <> sixteenth
457
+
458
let tokpos = const initialPos
459
parseTest (fromFoldable [A, B]) A (token tokpos)
460
parseTest (fromFoldable [B, A]) B (token tokpos)
0 commit comments