Skip to content
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

Add various parse functions #3

Open
gallais opened this issue Feb 27, 2018 · 2 comments
Open

Add various parse functions #3

gallais opened this issue Feb 27, 2018 · 2 comments

Comments

@gallais
Copy link
Owner

gallais commented Feb 27, 2018

The one function in TParsec.Running is only ever useful to write down
examples but not to actually use it. It'd be nice to have specialised runners
for input String vs. Text and output Maybe a or List a.

@clayrat
Copy link
Collaborator

clayrat commented Jun 14, 2018

I made a parseMaybe function for internal use which is very similar to parse, only returning Just/Nothing instead of Singleton/Void. Not sure about returning List though. Also what do you mean by Text?

@clayrat
Copy link
Collaborator

clayrat commented Apr 23, 2020

We currently have parseMaybe, parseType, parseResults and parseResult - do you have any other useful variations in mind, or should we close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants