Re: The extensible reader

2012-03-19 Thread Stuart Sierra
On Sunday, March 18, 2012 9:07:54 PM UTC-4, Brent Millare wrote: this form is still unreadable by default, but with tagged literals, allows users to define custom reader behavior per class. #java.class.name [args*] That syntax is already used for defrecords. Clojure 1.4.0-beta2 user=

Re: The extensible reader

2012-03-19 Thread Brent Millare
That syntax is already used for defrecords. Clojure 1.4.0-beta2 user= (defrecord Foo [a b]) user.Foo user= (read-string #user.Foo[1 2]) #user.Foo{:a 1, :b 2} user= Technically, there is no space with that method. As it is currently implemented, tags are separated by a space between

Re: The extensible reader

2012-03-18 Thread Brent Millare
2011 and I am particularly interested in the extensible reader component. Is there anything of this available for testing in master or 1.4.0-beta*? What's the best way to pass around java types in the reader like java.io.Files? -- You received this message because you are subscribed

The extensible reader

2012-03-17 Thread Brent Millare
So I just watched the Clojure conj keynote 2011 and I am particularly interested in the extensible reader component. Is there anything of this available for testing in master or 1.4.0-beta*? What's the best way to pass around java types in the reader like java.io.Files? -- You received