Replies: 3 comments 6 replies
-
^ @charlesg3 - lower-case 'r' relevant to your interests. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think there should be a way to extend what |
Beta Was this translation helpful? Give feedback.
1 reply
-
Note that there is also https://github.com/jorinvo/edn-data which implements EDN in pure JS. Won't solve your problem but nice to know it exists. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Thanks for squint, been having an absolute blast thinking about it and playing with it over the last couple weeks.
Is your feature request related to a problem? Please describe.
Experimenting with building a component of one of our systems in squint, interoperating over the network with existing clj/cljs systems, it occurred to me that
transit-js
(https://github.com/cognitect/transit-js) could be a nice bridging point - especially in the sense that it provides a "pure js" (https://github.com/cognitect/transit-js#transit-maps) notion of Clojure data.I was pleasantly surprised when doing so essentially "just worked", but now I wonder about deepening the integration.
In one sense, this is sort of about destructuring (the exact example below), but in another sense it's about extending squint to be more fluent with a few more Clojure data types (esp. keywords, times (dates), uuids, sets (?)).
squint.edn
:src/index.cljs
:Then...
And in another terminal:
Describe the solution you'd like
Not 100% sure what all this even implies, but perhaps it's thought provoking.
Describe alternatives you've considered
The component I'm building will, for now, need to be done in cljs instead of squint, which is fine. But I think this project is super-interesting, so I'm happy to contribute ideas.
Beta Was this translation helpful? Give feedback.
All reactions