Created
November 29, 2019 16:03
-
-
Save robotmay/82b35a101cfaeb4b5ac346533e2509cd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/Main.hs:116:49: error: | |
• Couldn't match type ‘Text’ with ‘()’ | |
Expected type: ParsecT Void Text Data.Functor.Identity.Identity () | |
Actual type: ParsecT | |
Void Text Data.Functor.Identity.Identity (Tokens Text) | |
• In the first argument of ‘(<|>)’, namely ‘eol’ | |
In the second argument of ‘someTill’, namely ‘(eol <|> eof)’ | |
In the second argument of ‘(<$>)’, namely | |
‘(someTill anySingle (eol <|> eof))’ | |
| | |
116 | message <- Text.pack <$> (someTill anySingle (eol <|> eof)) <?> "message" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment