For consistency, I would like to see spit moved into the boot.clj.
This will play well with the Java crowd. For years I have poked fun of
Java for having megabytes of core library and no simple way to save a
file.
Stuart
On Mon, Oct 6, 2008 at 4:40 PM, Stuart Halloway
<stuart....@gmail.com> wrote:
> For consistency, I would like to see spit moved into the boot.clj.
I wholeheartedly agree.
And I'd also like both slurp and spit to support encoding as an
optional parameter as it is a bit of pain to write my own versions
just to read/write files with non-default encoding.
--
Matti Jagula
If this gets traction, please also consider a name change to something
more along the lines of "read-file" and "write-file".
--Steve
I guess that spit and slurp are more original and therefore less
likely to clash with existing function names. At least I'm quite sure
I've got quite a few "read-file"-s myself.
--
Matti Jagula