This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-16
Channels
- # aleph (3)
- # announcements (14)
- # babashka (16)
- # beginners (85)
- # calva (6)
- # cider (9)
- # clojure (42)
- # clojure-australia (8)
- # clojure-europe (30)
- # clojure-nl (4)
- # clojure-uk (29)
- # clojuredesign-podcast (7)
- # clojurescript (25)
- # cursive (4)
- # data-science (1)
- # datomic (31)
- # emacs (1)
- # events (1)
- # fulcro (16)
- # instaparse (2)
- # java (37)
- # kaocha (3)
- # malli (3)
- # meander (19)
- # membrane (7)
- # off-topic (13)
- # pathom (4)
- # pedestal (10)
- # re-frame (17)
- # reveal (3)
- # rewrite-clj (1)
- # ring (9)
- # shadow-cljs (17)
- # spacemacs (2)
- # sql (34)
- # tools-deps (88)
- # vim (4)
I haven't tried personally.
@U0HLDF4PL I think I ran into something, but I can't remember what from the top of my head. I do know that this one works: https://github.com/xapix-io/matchete It's a bit of a more basic meander with emphasis on fns instead of macros
Ah right, this was the first thing I ran into:
user=> (require '[meander.epsilon])
Could not resolve symbol: clojure.lang.Compiler/demunge [at clojure/spec/alpha.clj:128:16]
user=>
@U04V15CAJ If you remember what it was do post an issue.
Yes, in a couple namespaces, however, those namespaces don’t use it so we can stop doing that.
user=> (binding [clojure.core/*loading-verbosely* true] (require '[meander.epsilon]))
(clojure.core/load "/meander/epsilon")
(clojure.core/load "/clojure/core")
(clojure.core/in-ns 'meander.epsilon)
(clojure.core/alias 'clj 'clojure.core)
(clojure.core/load "/meander/match/epsilon")
(clojure.core/in-ns 'meander.match.epsilon)
(clojure.core/alias 'clojure 'clojure.core)
(clojure.core/in-ns 'meander.match.epsilon)
(clojure.core/alias 'pprint 'clojure.pprint)
(clojure.core/load "/clojure/set")
(clojure.core/in-ns 'meander.match.epsilon)
(clojure.core/alias 'set 'clojure.set)
(clojure.core/in-ns 'meander.match.epsilon)
(clojure.core/alias 's 'clojure.spec.alpha)
This one's also causing trouble: https://github.com/noprompt/meander/blob/a96e3766a0b342f60952acf1c732a82b831b82fc/src/meander/substitute/syntax/epsilon.cljc#L7 (core.specs.alpha) I do intend to support spec in babashka at one point, but not with the .alpha suffix
This actually one, for the most part, nice property of specs global, public registry approach.
@U06MDAPTP The next issue:
Unable to resolve classname: clojure.lang.Var [at meander/util/epsilon.cljc]
I think this:
https://github.com/noprompt/meander/blob/a96e3766a0b342f60952acf1c732a82b831b82fc/src/meander/util/epsilon.cljc#L585
can be written as (:ns (meta var))
@U04V15CAJ Thanks again! I’m nearly done with the spec surgery.