-
Notifications
You must be signed in to change notification settings - Fork 9
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
How to get results from multiple cats? #11
Comments
what's your intent? expose seqexp or wrap it behind something closer to spec? |
hi. would like to have a regex-schemas in https://github.com/metosin/malli and using a proven library behind the scenes seems like a good idea. Would like to support same kind of destructuring that clojure.spec has. |
Features looking for are:
btw, do you think seqexp would be a good option to use here? |
Malli has now it's own regex-engine, far less elegant, but does what is needed. |
Tried to port a clojure.spec example into seqexp:
First try:
Second try:
The second one seems to have all the information available, but one must do extra work on constructing the path vectors and parse the results with knowing the path vectors to get something like the clojure.spec version outputs. I'm I doing something wrong? Is there an easier way to exec any pattern and get something like the spec outputs?
The text was updated successfully, but these errors were encountered: