On Fri, Apr 30, 2010 at 9:03 AM, Christophe Grand <
chris...@cgrand.net> wrote:
> On Fri, Apr 30, 2010 at 2:25 PM, Chouser <
cho...@gmail.com> wrote:
>>
>> On Fri, Apr 30, 2010 at 5:26 AM, Christophe Grand <
chris...@cgrand.net>
>> wrote:
>> > Hi,
>> >
>> > While writing a patch for #326 I was surprised by errors relating to
>> > pattern
>> > literals becoming another kind of literals at runtime.
>> > I got funny messages such as:
>> > * #"\." is a Character and cannot be cast to Pattern
>> > * #"[.]" is a PersistentVector and cannot be cast to Pattern
>> >
>> > The problem is that in most of core.clj pr-on isn't initialized yet and
>> > that
>> > RT/print don't know how to readably print pattern literals by itself.
>> >
>> > May I fill a bug and attach the following patch?
>>
>> I assume you're aware that patch will not correctly print all
>> Patterns. Perhaps that's okay since the complete Pattern printer
>> remains (in core_print.clj).
>
> Yes, it should support all pattern literals though.
Wow. :-( Surely that's a bug. But you're right, since the Pattern
of the time. Very bad. I guess we just have to get as close to