meander

All things about https://github.com/noprompt/meander Need help and no one responded? Feel free to ping @U5K8NTHEZ
2021-04-06T09:31:42.069Z

is there any way to use recur inside match / rewrite ?

2021-04-06T09:32:44.069400Z

i would like to use a meander inside loop

jimmy 2021-04-06T13:03:02.069600Z

In rewrite m/cata is basically recur. On the rhs it acts just like recur. On the left hand side you can match on the result of recurring. Which is a little trippy.

๐Ÿ‘ 1
noprompt 2021-04-06T16:16:17.071800Z

(loop [,,,]
  (match x (recur ,,,))
Does not work at the moment due to the way matches are compiled. If youโ€™re able to, use reduce. This is a solvable problem for match/`find` but I cannot prioritize it.

๐Ÿ‘ 1