Hello colleague, On Wednesday, August 17, 2016 at 11:12:51 AM UTC+2, Oliver Schulz wrote: > > Sure - I was assuming that as Symbol (as an interned string) is basically > just a pointer. So comparisons are O(1), etc. What I'd like to understand > is, why can't it be a bitstype? Currently, it's not, so Symbol cannot be > used in a lightweight (i.e. stack-allocated) immutable type. I assume > there's a good reason for it, I just want to understand why. >
Could you make an example how you would like to use Symbol in lightweight types?