Re: [ANN] dformat 0.1.0

2015-01-15 Thread Carl Cotner
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 >

Re: [ANN] dformat 0.1.0

2015-01-15 Thread Mike Haney
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

Re: [ANN] dformat 0.1.0

2015-01-15 Thread Steve Miner
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

Re: [ANN] dformat 0.1.0

2015-01-15 Thread Luc Préfontaine
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

Re: [ANN] dformat 0.1.0

2015-01-15 Thread David Sargeant
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

Re: [ANN] dformat 0.1.0

2015-01-12 Thread Malcolm Sparks
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

Re: [ANN] dformat 0.1.0

2015-01-12 Thread adrian . medina
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

[ANN] dformat 0.1.0

2015-01-12 Thread zirkonit
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")