Re: New version of core.async?

2015-08-05 Thread Mike Thompson
This would be mighty useful: http://dev.clojure.org/jira/browse/ASYNC-137 I was planning on moving away from using core.async because I had assumed this issue would not be fixed and released in the forseeable future. Should I have hope? :-) On Thursday, August 6, 2015 at 9:22:56 AM UTC+10,

Re: A more flexible versio of -> ?

2015-05-04 Thread Mike Thompson
In addition to what's already been pointed out, on a grander scale there's: https://github.com/LonoCloud/synthread On Tuesday, May 5, 2015 at 6:48:34 AM UTC+10, Kaiyin Zhong wrote: > > Wouldn't be nice to have something like: > > (->>> thing > (f1 ph arg2 arg3) > (f2 arg1 ph arg3) >

Re: Question about ClojureScript Testing

2015-02-11 Thread Mike Thompson
/github.com/bhauman/lein-figwheel It provides a repl, auto-reloading etc. Here's a template project for the combination of figwheel and reagent: https://github.com/gadfly361/reagent-figwheel On a different track, here's a way to use:"optimizations :none" https://githu

Re: [RFC] Testing ClojureScript code with clojurescript.test and Karma

2015-02-11 Thread Mike Thompson
oad all > of the test namespaces when {:optimizations :none} is used. > > Just heads up ... You'll need to change your ":none" hack as soon as you switch to clojurescript v0.0.2719 : https://github.com/mike-thompson-day8/cljsbuild-none-test-seed/blob/master/test.html#

Re: [ANN] Leiningen 2.5.1 released

2015-01-15 Thread Mike Thompson
Reported here: https://github.com/technomancy/leiningen/issues/1800 The workaround is to remove any "wget" or "curl" in your PATH, which will force lein.bat to use powershell (when downloading from github). On Monday, January 12, 2015 at 9:25:26 PM UTC+11, Jean Niklas L'orange wrote: > Hi t

Expanding The Use Of Transducers To Atoms?

2014-10-26 Thread Mike Thompson
I've been reading about transducers with interest. The official docs at http://clojure.org/transducers say "*Because transducers are decoupled from input or output sources, they can be used in many different processes - collections, streams, channels, observables, etc.* " At this stage, the

Re: Defs with %

2014-06-17 Thread Mike Thompson
veray wrote: >> >> I believe this is a problem with the Leiningen REPL. It works fine from >> the built-in REPL: >> >> $ java -jar ~/.m2/repository/org/clojure/clojure/1.5.1/clojure-1.5.1.jar >> Clojure 1.5.1 >> user=> (def top% 4) >> #'user/to

Defs with %

2014-06-17 Thread Mike Thompson
At the REPL ... user=> (def top% 4) ;; an unusually named var #'user/top% But later, it I try to use this var, trouble ... user=> top% CompilerException java.lang.RuntimeException: Unable to resolve symbol: top in this context, compiling:(Local\Temp\form-init6773082655831127234.clj:1:

Re: Usage docstrings as example source & test samples

2014-06-16 Thread Mike Thompson
Tim Peters invented the idea of doctest in python. He had a great love of using the REPL (sound familiar to anyone in Clojure?). He felt that "throwing away" a constructive REPL session was a huge waste. He'd often tested some code via the REPL, particularly the edge cases. His REPL work,