Trying to make it easier to expose namespaces to sci #615
phronmophobic
started this conversation in
Show and tell
Replies: 1 comment
-
@phronmophobic Thanks for sharing! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've created a small utility library for exposing namespaces to sci called scify, https://github.com/phronmophobic/scify.
As a bonus, it can also replace existing protocols to work with both sci values and non-sci values.
See https://github.com/phronmophobic/scify/blob/main/src/com/phronemophobic/scify.clj#L5
It does rely on both clojure and sci internals, but based on https://ask.clojure.org/index.php/10967/are-protocol-methods-guaranteed-to-not-be-directly-linked, it seems like the clojure implementation details will likely be stable.
Beta Was this translation helpful? Give feedback.
All reactions