I don't like that if you treat properties as a seq you get Java
Hashtable$Entry objects, instead of a vector as you would with a map,
hence my "into {}". But maybe it is a silly quibble since
destructuring works fine with either.
Stuart
>> Can't you just write:
>> (.load (Properties.) (FileInputStream. f))
>> and skip separate function altogehter?
>
> Err.. that should be:
> (doto (Properties.) (.load (FileInputStream. f)))
> .. point remains.
>
> --
> Krešimir Šojat
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---