Re: Looking for an equivalent of reductions for reduce for ->

2015-03-01 Thread Thomas Hicks
I'm not quite sure what you want to do here in the general case but.a few thoughts: -> is implemented as a macro, whereas reduce and reductions are functions. Depending on what you really want you may need a macro over a function. Note that reduce is picky about the reducing function it tak

Re: clojure.core/Format Bug?

2014-04-07 Thread Thomas Hicks
If I copy and paste your format s-exp into LT, I see the correct result, displayed correctly. Same for a plain lein repl using Clojure 1.6.0. I'm using LightTable 0.6.5, binary 0.8.4. (On OSX 10.8.5 using Java 1.7.0_60-ea-b12). HTH, -tom On Sunday, April 6, 2014 2:00:55 PM UTC-7, Paul

Re: Questions about using error-kit

2012-09-30 Thread Thomas Hicks
Thanks Luc and Mayank. I will chuck the monolithic contrib lib and check out Slingshot as an error-kit replacement. -t On Sunday, September 30, 2012 1:52:08 PM UTC-7, Luc wrote: > > Contrib has been separated into separate libs since 1.3 > > http://dev.clojure.org/display/design/Where+Did+Cl

Questions about using error-kit

2012-09-30 Thread Thomas Hicks
I'm trying to learn something about error-kit and encountering some unexpected responses, as follows: Clojure 1.3.0 user=> (use 'clojure.contrib.error-kit) Warning: *handler-stack* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicat