Re: Alternate set literal syntax?

2012-03-24 Thread ChrisR
I don't mind the #{} syntax, however I feel that if alternate syntax were to be introduced (for whatever datatype) it should be the unicode parenthesis since they 1. Look nice, 2. No addition of extra characters (I value succinctness), 3. They work in most common existing structured editing environ

Deserialization of a Record

2012-05-26 Thread ChrisR
I have a problem deserializing a record from within a swing application. I wrote the minimal amount of code required to highlight the problem i'm having below. (if unfamiliar with seesaw, this is just creating a JButton which deserializes the record in the file "/tmp/point" on-click) (ns babel.r

Re: Deserialization of a Record

2012-05-26 Thread ChrisR
As an update to this, I can get deserialization working, so long as I (compile 'babel.records) within the file itself. It seems to me that having a raw (compile 'babel.records) type form at the start of each namespace containing defrecords I need to serialize would not be ideal, are there gene

Re: Looking for an idiom regarding type hints

2012-07-21 Thread ChrisR
Thanks, I didn't realize type hints could be used on superclasses, I guess this will work in general since functions that only differ by type hints probably will inherit from the same thing in just about every case. -- You received this message because you are subscribed to the Google Groups "C

(flatten )

2011-09-29 Thread ChrisR
Hi there, possibly the flatten documentation is wrong as (flatten nil) for me is returning the empty list rather than nil. (1.3.0). Is there a better place to post this? (clojure.core/flatten nil) => () from docstring: "Takes any nested combination of sequential things (lists, vectors, etc.