If Clojure lacks a type that exactly matches ION's symbol type, why not add
your own type with a record, then add a data reader for it.

For example: #ion/symbol "foo"

On Thu, 9 Aug 2018, 05:48 Didier, <didi...@gmail.com> wrote:

> Thanks Andy, ya I actually realized this, I'm using a custom reader
> literal now instead.
>
> > Why are you fighting so hard to make keywords with spaces? If you need
> things with spaces, use strings.
>
> Why have keywords at all then? What does a space add that somehow negates
> the premise of keywords?
>
> I see keywords over strings give you interning, namespaces, and the
> semantic that this value serves as an identifier. What's wrong with having
> that and a space as well?
>
> Also, to be more specific to my use case. If I convert ION symbols to
> Clojure strings, I've lost information, and can no longer convert back to
> the same ION.
>
> I need to do ION -> EDN -> ION in a lossless way. Piggybacking on keywords
> seemed easiest.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to