Re: clojure.core/Format Bug?

2014-04-08 Thread Paul Umbers
of your plugins? > > Sean > > On Apr 7, 2014, at 12:47 PM, Paul Umbers > > wrote: > > I have the same version of LightTable and the binary, using Clojure 1.6.0 > and Java 1.7.0_51 under Ubuntu 13.04. I've attached a screenshot of the > output I get. >

Re: clojure.core/Format Bug?

2014-04-07 Thread Paul Umbers
sing > Java 1.7.0_60-ea-b12). >HTH, > -tom > > > On Sunday, April 6, 2014 2:00:55 PM UTC-7, Paul Umbers wrote: >> >> Andy, thanks for your help. >> >> I've checked and the displayed result is different only in LightTable. >> Wh

Re: clojure.core/Format Bug?

2014-04-06 Thread Paul Umbers
lues, so that is not specific to LightTable. > > The display of the wrong number of spaces between the double quotes could > be a LightTable bug, though. > > Andy > > > On Sun, Apr 6, 2014 at 12:57 PM, Paul Umbers > > wrote: > >> Interesting. >> >> The

Re: clojure.core/Format Bug?

2014-04-06 Thread Paul Umbers
.4 + OpenJDK 1.6.0_30 + Clojure 1.5.1 > > If you are still getting incorrect results, what combination of software > versions are you using? > > Andy > > > > On Sun, Apr 6, 2014 at 12:27 PM, Paul Umbers > > wrote: > >> I'm trying to right-pad a

Re: clojure.core/Format Bug?

2014-04-06 Thread Paul Umbers
single string, but in fact it treats the string as a collection of characters and so only applies the formatting to the first character. Hence the reason (String/format "'%-9s'" (to-array ["12345"])) works correctly. Confusing? On Sunday, 6 April 2014 13:27:09 UTC-

clojure.core/Format Bug?

2014-04-06 Thread Paul Umbers
I'm trying to right-pad a string up to 9 characters, for example "12345" should become "12345", and the only idea I've come up with so far is to use clojure.core/format which states: "Formats a string using java.lang.String.format, see java.util.Formatter for format string syntax". However,

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Paul Umbers
On Friday, 11 January 2013 12:17:35 UTC-7, Herwig Hochleitner wrote: > > > There is, however, value in curated sets of independent libriaries that > work well together. Also in having declarative syntax available for common > tasks. > Still IMO, Clojure's web story is still somewhat lacking on th

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Paul Umbers
about it. On Friday, 11 January 2013 10:12:43 UTC-7, James Reeves wrote: > > On Friday, January 11, 2013 4:52:05 PM UTC, Paul Umbers wrote: > >> For example, the latest vesion of Compojure (1.1.3) uses Ring 1.1.5 and >> not the latest version of Ring (1.1.6) which has signi

Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Paul Umbers
I've been experimenting with Clojure web services recently, and posting the work on GitHub and my blog . When putting this test app together, it occurred to me that most other languages have a full-stack