-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
takeWhile1 doesn't stop on end of string #111
Comments
What if you place a endOfInput at the end? |
I would like to match "parseClass" parser no matter if it is in the middle or at the end of input. |
@varosi |
Thanks!
На ср, 12.12.2018 г., 15:25 ч. Georgi Lyubenov <[email protected]>
написа:
… @varosi <https://github.com/varosi>
maybeResult converts Partial values to Nothings - this is intended
behaviour. You need to feed it an empty input (empty string) in order for
the Partial to turn into a Done so that maybeResult will return a Just.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#111 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFxXht47g-DDK56qwrUGHWYCjpMDn8Opks5u4QPTgaJpZM4Gd666>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have this code:
When I call it in GHCi I got this results:
The text was updated successfully, but these errors were encountered: