meander
meander copied to clipboard
Tools for transparent data transformation
Just like `seqable` but specifically for `sequential?` sequences e.g. vectors and lists but not sets or maps.
- [x] Unable to resolve classname: clojure.lang.ILookup [at /private/tmp/meander/src/meander/substitute/syntax/epsilon.cljc:1441:24] - [x] user=> (require '[meander.epsilon] :reload) Could not resolve symbol: S__23485 [at /private/tmp/meander/src/meander/epsilon.clj] Probably related to one of the `(let [save-id...
I am getting this warning when I add meander to my project: ``` Reflection warning, meander/util/epsilon.cljc:758:24 - reference to field val can't be resolved. ```
When using the [n or more operator](https://github.com/noprompt/meander/blob/epsilon/doc/operator-overview.md#n-or-more) to match a pattern in a vec with a preceding `any` (`_`) operator; the n-or-more operator will match empty lists in `m/search`. This...
Hi. `[query f & more-clauses]` args version of `finder` calls `finder-from` with a collection of pairs while `finder-from` expects clauses list and partition it by itself. And there is no...
https://clojure.org/reference/data_structures#StructMaps "you cannot dissociate a struct map from one of its base keys" ```clojure (m/rewrite (struct (create-struct :tag :content) :name "bob") {:tag :name & {:content ?name}} ?name) ``` Even if...
Continuing a recent discussion at Clojurians Slack, I have had some experiments porting Meander to Clojure 1.8. The following changes were necessary: * Changing the Clojure dependency to "1.8.0" *...
this works ```clojure (m/search dx100k {_ {_ {:db/id ?e :name "Ivan"}}} ?e) ``` this not ```clojure (m/rewrite dx100k (m/map-of _ (m/map-of _ {:db/id !e :name "Ivan"})) [!e ...]) ``` code...
[meanderbug.zip](https://github.com/noprompt/meander/files/5144666/meanderbug.zip) Attached is a project, if you run `lein check` it fails to compile with a StackOverflow while expanding the meander macro. If you send it to the REPL, it...
Consider ```clj (m/defsyntax static ([] `(m/or ('quote _) (m/pred number?) (m/pred keyword?) [(static) ...]))) ``` This syntax extension will be expanded to point of a `StackOverflowError`, however, it should be...