Re: bugs in cl-format.clj

2009-10-31 Thread Tom Faulhaber
OK, fixed. Grab the latest contrib from github and you should be all set. Feel free to let me know directly if you see any other issues. I'm sure they're there! :-) Tom On Oct 30, 11:20 pm, Tom Faulhaber wrote: > I've added assembla ticket #40 for these > issues:https://www.assembla.com/space

Re: bugs in cl-format.clj

2009-10-30 Thread Richard Newman
> I think cl-format has the most tests of anything in Clojure and it > still has lousy test coverage of all the cases it's supposed to cover. Don't be too hard on yourself... FORMAT and LOOP are amongst the scarier corners of Common Lisp, and even battle-hardened CL implementations sometimes

Re: bugs in cl-format.clj

2009-10-30 Thread Tom Faulhaber
I've added assembla ticket #40 for these issues: https://www.assembla.com/spaces/clojure-contrib/tickets/40-bugs-in-cl-format --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send

Re: bugs in cl-format.clj

2009-10-30 Thread Tom Faulhaber
Hey Carlos, Thanks for noticing these. I'll take a look. I think cl-format has the most tests of anything in Clojure and it still has lousy test coverage of all the cases it's supposed to cover. Tom On Oct 28, 4:53 pm, carlitos wrote: > Hello, > > I've encountered a couple of issues with the

bugs in cl-format.clj

2009-10-28 Thread carlitos
Hello, I've encountered a couple of issues with the cl-format function included in contrib.pprint (cl-format nil "~1,1$" -12.0) ;; => "12.0" the sign is lost I think the problem is the following assignment in the dollar-float function add-sign (and (:at params) (not (neg? arg))) ;;