Exactly my first reaction! :-)
Great idea, zirkonit!
Carl
On Mon, Jan 12, 2015 at 4:52 PM, wrote:
> It seems so obvious in retrospect... :) Good job.
>
> On Monday, January 12, 2015 at 4:43:08 PM UTC-5, zirkonit wrote:
>>
>> A tiny library, my first open-source Clojure release. Removes some
>
I completely agree that the order of arguments is backwards - precludes the use
of 'partial'.
Other than that, good job. Very clever idea.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Clever. The doc-strings for dformatter and dformat could use a little work.
Remember, people will use (doc whatever) in the REPL so “same as above” isn’t
very useful. Also, the dformatter doc implies more arguments than it actually
takes. The order of arguments to dformat seems backwards to
Euuh ? I was expecting to find %5 and above and a bunch of embedded forms
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient
Looks really useful. I would recommend using (fn [] ...) instead of #(...)
here:
https://github.com/zirkonit/dformat/blob/master/src/dformat/core.clj#L115.
Makes the code more readable.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to t
Very nice!
On Monday, 12 January 2015 21:43:08 UTC, zirkonit wrote:
>
> A tiny library, my first open-source Clojure release. Removes some
> head-scratching when formatting dates (is it or ? or YYY?) by
> building date format strings automatically based on a sample. For example:
>
> (df
It seems so obvious in retrospect... :) Good job.
On Monday, January 12, 2015 at 4:43:08 PM UTC-5, zirkonit wrote:
>
> A tiny library, my first open-source Clojure release. Removes some
> head-scratching when formatting dates (is it or ? or YYY?) by
> building date format strings autom
A tiny library, my first open-source Clojure release. Removes some
head-scratching when formatting dates (is it or ? or YYY?) by
building date format strings automatically based on a sample. For example:
(dformat date "March 1, 1999") ;; "June 9, 2011"
(dformat date "Jan 1, 1999")