-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
parseedn-print tag readers #6
Comments
The suggestion seems reasonable to me. Let's see what @plexus thinks about it as well. |
I think the reason we don't have custom print handlers is that elisp doesn't really have custom types. Even the common lisp style types are really just cons cells IIRC so it's hard to distinguish. But if we can offer custom print handlers in a way that makes sense then I'm all for it. |
Having another look at this, I think it would be fair to provide an optional second argument to A PR for that would be very welcome. However for the issue that @nivekuil raised I think the actual problem is that while we parse inst and uuid (since they are part of the EDN spec) we don't print them correctly. I added printing for |
For
parseedn-read
, we can pass an alist of readers to convert e.g. #uuid into a string.Could this be done in the inverse operation,
parseedn-print
, as well?Currently I've just patched it like so:
The text was updated successfully, but these errors were encountered: