4 ms·
Well... Kind of. Clojure is crazy about immutability, so it makes live modifying any variable painful. However, core.match is usually used with a loop, so it
by shakna 10y ago
Well... Kind of.
Clojure is crazy about immutability, so it makes live modifying any variable painful.
However, core.match is usually used with a loop, so it should be possible with some nested lets.
- mapcars 10y agoOk, what I wanted to show is Red's parse is more than just pattern matching, since you can execute regular Red code in parsing rules, walk around the input and other things. You can check it's features here: http://www.red-lang.org/2013/11/041-introducing-parse.html http://www.red-lang.org/2013/11/041-introducing-parse.html
- ivanpierre 10y agoVariable, modifying... what the heck? You have a language that is crazy about mutability, it should make testing painful ;)