This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: symbol patch


Per Bothner <per@bothner.com> writes:

> I don't think this is very "scheme-y" (or "lisp-y").  There are other
> Scheme implementations that support unintered symbols, and I believe
> in them symbol? returns true for an uninterned symbol.

Correct.  Even R5RS acknowledges these implementations, and notes that
they generate exceptions to the rule that two symbols are the same if
and only if their names are spelled the same.

As for serialize/deserialize un-interning symbols, I think that's a bug
in Java's serialize/deserialize methods for strings.  It should be
recorded that the string was interned.  I can imagine interned strings
being useful for symbolic computation in Java.  Apps that deserialize
will have to work around this bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]