I am really happy to see a complete pattern matching library for Nim!
Congratulations for your efforts!
After some more irc discussion, I can summarize my worry as
It seems hard to combine having some "always available" dsl features [e.g. @
for captures, _, if guards etc] with the ability for an user to rewrite freely
a branch: which makes reading of very hard, as you need to know if
Thank you, and was a temporary workaround in the DSL, but I guess it seems to
be an ok solution for this. I thought about also adding or for an union of
patterns, but I am not sure how useful would it be.
Honestly, I didn't really know they are already implemented, I looked up now
and all I
* I'm a little confused why this doesn't use the new case statement macros.
* I **love** the `if` guards with `and`! Much easier than my ideas which was
yet-another core syntax extension.
Basically
[https://github.com/alehander42/gara](https://github.com/alehander42/gara), I'd
love some feedback : what do you like, what do you find confusing?