Hi Phil,
On Wednesday, 17 October 2012 at 4:11 AM, Phil Hagelberg wrote: > Interesting project. Thanks! > What are you planning on doing about the fact that Ruby has mutable > strings? Seems like that would be a deal-breaker for implementing > Clojure's equality semantics. > > http://home.pipeline.com/~hbaker1/ObjectIdentity.html My initial solution is to freeze all strings in the reader. This prevents the most obvious issues, as it means any string read in from the Rouge code itself is immutable. The wider question of strings in Rouge code in general is going to be a concern, and something I'll probably have to mull over more shortly. :) There are some options (which I don't quite like), such as freezing strings on entry to Rouge code and duping them on exit. - Arlen -- 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