meander

All things about https://github.com/noprompt/meander Need help and no one responded? Feel free to ping @U5K8NTHEZ
jimmy 2021-01-03T19:35:22.115500Z

I’ll throw out another solution just in case anyone is interested.

(m/rewrite db
  {:items [{:id !ids :labels (m/or [!labels ..!n]
                                   (m/let [!n 0]))} ..!m]
   :labels ?labels}
  {:items
   [{:id !ids :labels [(m/cata [!labels ?labels]) ..!n]} ..!m]}

  [?label (m/scan {:id ?label :name ?name})]
  ?name)

1👍
tothda 2021-01-03T21:44:04.115700Z

Thank you!

tothda 2021-01-03T21:45:31.115900Z

Would be useful to post this to the original stackoverflow question too.