Re: [ANN] Clojure 1.8.0-RC4 is now available

2015-12-18 Thread Mikera
On Thursday, 17 December 2015 14:59:37 UTC, Herwig Hochleitner wrote: > > Am 17.12.2015 02:35 schrieb "Mikera" >: > > > What's the plan with Tuples more broadly? > > Speaking as a kibitzer to the process: Suppose somebody was to carry this > along, I'd like to see these

Re: [ANN] Clojure 1.8.0-RC4 is now available

2015-12-18 Thread Mikera
On Thursday, 17 December 2015 04:34:58 UTC, Alex Miller wrote: > > > On Wed, Dec 16, 2015 at 7:34 PM, Mikera > wrote: > >> >> What's the plan with Tuples more broadly? >> > > Don't know. > > I'm willing to take another shot at at a patch for this, as I believe there is

Need some direction on writing my .Net build script using clojure

2015-12-18 Thread Erlis Vidal
Hi all, I would like to start using clojure at my workplace and I think I've found a great opportunity. I need to write the build script for our .Net solution and it will great if I can use clojure for this task. What I would like to know is if we (the community) have something that is suitable

Re: [ANN] Clojure 1.8.0-RC4 is now available

2015-12-18 Thread Alex Miller
I haven't talked to Rich about it recently, but I expect tuples will be reassessed at some point. I don't think more patches would be helpful at this time. On Friday, December 18, 2015 at 6:08:39 AM UTC-6, Mikera wrote: > > On Thursday, 17 December 2015 04:34:58 UTC, Alex Miller wrote: >> >> >>

Re: Need some direction on writing my .Net build script using clojure

2015-12-18 Thread Ralf Schmitt
Erlis Vidal writes: > Hi all, > > I would like to start using clojure at my workplace and I think I've found > a great opportunity. I need to write the build script for our .Net solution > and it will great if I can use clojure for this task. > > What I would like to know

Re: [ANN] Boot 2.5

2015-12-18 Thread Mimmo Cosenza
Hi Sean, FWIW, I confirm your words, even if I only used the 2.4.2 release and I stll have to understand a lot of thing about it. cheers mimmo > On 18 Dec 2015, at 23:14, Sean Corfield wrote: > > Alan Dipert wrote on Wednesday, December 16, 2015 at 3:26 PM: >> Boot, your

Re: recur does not work within some macros, how to deal with it?

2015-12-18 Thread Witold Szczerba
You are so right, the answer seems obvious now :) Thanks, Witold Szczerba On Sat, Dec 19, 2015 at 1:57 AM, Herwig Hochleitner wrote: > Use a function instead of the loop: > > (defn ws [req] > (with-channel req channel > ((fn loop-f [x] >

recur does not work within some macros, how to deal with it?

2015-12-18 Thread Witold Szczerba
Hi, I am doing my first steps in Clojure and I have a problem with "recur". Here's an example of the HTTP Kit's handler I just wrote to test drive the first Clojure piece of code of mine: (defn ws [req] (with-channel req channel (loop [x 1] (timer/schedule-task 3000

Re: [ANN] Clojure 1.8.0-RC4 is now available

2015-12-18 Thread Herwig Hochleitner
Apologies for the incoming wall of text, as well as for co-opting the -RC4 thread TLDR: -RC4 LGTM, I enjoy the startup-speed boost - we need a benchmark before further evaluating the work on tuples 2015-12-18 13:02 GMT+01:00 Mikera : > > I don't actually recall

Re: recur does not work within some macros, how to deal with it?

2015-12-18 Thread Herwig Hochleitner
Use a function instead of the loop: (defn ws [req] (with-channel req channel ((fn loop-f [x] (timer/schedule-task 3000 (println x) (loop-f (+ x 1 0))) loop-recur is used to prevent unbounded stack growth, but the timer task acts as a sort of

hara.concurrent.procedure "2.2.13" - parameterised control of current execution

2015-12-18 Thread zcaudate
Hey guys. I've been playing with this idea for the last 6 months. Really excited to have finally written it up. Hope to get some feedback! blog: http://z.caudate.me/parameterised-execution-hara-concurrent-procedure/ docs: http://docs.caudate.me/hara/hara-concurrent-procedure.html Chris. --

Re: [ANN] Boot 2.5

2015-12-18 Thread Sean Corfield
Alan Dipert wrote on Wednesday, December 16, 2015 at 3:26 PM: Boot, your friendly neighborhood functional build tool, has just hit version 2.5. I invite you to try it out! As someone who was extremely skeptical about Boot when it first appeared and who had some bad experiences with very early

[ANN] boot-expectations: run Expectations tests via Boot

2015-12-18 Thread Sean Corfield
What? A Boot task to run Expectations tests. Where? https://github.com/seancorfield/boot-expectations Thanks to: Alan Dipert and Micha Niskin for their help and patience as I learned enough of Boot 2.5 to write this! What’s next? Task options to filter / exclude test. And anything else the

[Q] What would be the best approach or design for converting this common lisp code?

2015-12-18 Thread Sungjin Chun
Hi, The code repo is https://github.com/wzrdsappr/trading-core . If you look at the code, the main trading agent is designed using inheritance and the main operation (consume) function mainly depends upon mutable update of agent's states. As far as I know Clojure does not permit attribute

Re: [ANN] boot-expectations: run Expectations tests via Boot

2015-12-18 Thread Sean Corfield
boot-expectations 1.0.0 is available! What? A Boot task to run Expectations tests. Where? https://github.com/seancorfield/boot-expectations Thanks to: Alan Dipert and Micha Niskin for their help and patience as I learned enough of Boot 2.5 to write this! What’s next? Task options to filter /