Mark Engelberg
Mark Engelberg
`if-let` and `if-some` are drop-in replacements for the ones built into Clojure: Examples here: https://clojuredocs.org/clojure.core/if-let https://clojuredocs.org/clojure.core/if-some The only difference is that the ones in better-cond support _multiple bindings_, in which...
`if-let` and `if-some` are not clauses to be used within cond. They are standalone macros that can be used in place of the built-in `if-let` and `if-some` if you need...
:if-let would be a three-part clause rather than two parts like everything else, complicating the macro and making it hard to understand what's going on in the event of user...
I'm all for when-some, but when you added while, it raised a philosophical question in my mind as to whether this particular cond library could risk becoming a "kitchen sink"...
Thanks for the comments, glad you find it useful. I don't really see the benefit of your proposal. `better/cond` and `better-cond` have the same number of characters. And in the...
OK, if concision doesn't matter then it really comes down to: `better/cond` vs. `better-cond` Why do you prefer the hyphen over the slash? It's a pretty subtle difference, but I'd...
Thanks for your pull request contribution and your interest in this change. When I originally wrote instaparse, namespaced keywords weren't used very commonly; they became much more prevalent after datomic...
I believe you are correct that namespaced keywords are supported in the underlying grammar map, which suggests a simple-ish workaround if it is awkward to deal with hyphenated keywords at...
A silly-but-maybe-useful idea to make the grammar prettier with minimal effort: Instead of `/` in your namespaced non-terminals, use Unicode 0338 `̸` which looks nearly identical. Then process the grammar.
Is there a pull request?