Assembla Ticket #311 [1] calls for the promotion of clojure.contrib.io into clojure (as clojure.java.io). I have attached a patch, and am requesting comments and code review from the community.
Why was to-byte-array left behind? It is a bit of an oddball
function, insofar as it doesn't fit into IOFactory or Coercions, but
seems to me like a natural cousin to copy.
- Chas
> Sorry I'm so late to this particular discussion :-/
>
> Why was to-byte-array left behind? It is a bit of an oddball function, insofar as it doesn't fit into IOFactory or Coercions, but seems to me like a natural cousin to copy.
>
> - Chas
>
> On May 11, 2010, at 12:16 PM, Stuart Halloway wrote:
>
>> Assembla Ticket #311 [1] calls for the promotion of clojure.contrib.io into clojure (as clojure.java.io). I have attached a patch, and am requesting comments and code review from the community.
>>
>> Reasons you want to take time from your day to read this code:
>>
>> (1) It's important. This isn't just a copy/paste from contrib, there are several design changes (documented in the ticket).
>>
>> (2) It's interesting, demonstrating use of Clojure 1.2 protocols.
>>
>> (3) If you are new to Clojure, it isn't that scary. It's "just I/O". :-)