This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-22
Channels
- # announcements (28)
- # babashka (77)
- # beginners (122)
- # calva (40)
- # circleci (3)
- # clj-kondo (47)
- # cljs-dev (9)
- # clojure (119)
- # clojure-australia (1)
- # clojure-europe (88)
- # clojure-nl (3)
- # clojure-uk (33)
- # code-reviews (64)
- # core-logic (37)
- # cursive (10)
- # datomic (13)
- # emacs (1)
- # fulcro (4)
- # graalvm (1)
- # graphql (5)
- # helix (4)
- # integrant (25)
- # jobs (1)
- # jobs-rus (1)
- # off-topic (3)
- # pathom (12)
- # random (1)
- # re-frame (48)
- # reagent (1)
- # remote-jobs (1)
- # reveal (1)
- # rewrite-clj (4)
- # ring (6)
- # ring-swagger (1)
- # shadow-cljs (21)
- # sql (8)
- # tools-deps (25)
- # vim (15)
- # xtdb (12)
hello all. I'm after some input on data_readers.cljc
- I want to be able to have a tag #foo/bar"xyz"
that is read in both clojure and clojurescript - and of course the reader fn output will be different for clojure vs cljs.
It doesn't seem to work to have reader conditionals in data_readers.cljc itself (the .cljc suffix suggests to me that should be possible though?) - or to have a :clj/:cljs conditionals in the tag reader function. Any ideas? I raised CLJS-3294 for this, but it could just be something I'm not doing right, rather than a bug
I think we have a ticket for this on clj side too
I think the fix would be to allow reader conditionals in data_readers.cljc - do you agree?
sorry, don't have time to look at it right now
what would be the correct behaviour do you think? reader conditionals in data_readers.cljc?
@alexmiller I've created https://clojure.atlassian.net/browse/CLJ-2607