Clojure statechart / hierarchical FSM implementation

2014-09-05 Thread Andre vd Merwe
Does anyone know of a clojure implementation of a Harel statechart or some variation of it (UML2 statechart, hierarchical FSM etc)? Specifically I'd like the implementation to handle; hierarchical nesting, history states, conditions, concurrency and communication if possible. Alternatively are

Re: core.async take behaviour

2014-09-05 Thread Michael Klishin
On 5 September 2014 at 06:08:17, Colin Fleming (colin.mailingl...@gmail.com) wrote: Given that there's a long time between major releases and 1.6 just came out, are they likely to be backported to a 1.6 point release when they're done or will we have to wait for 1.7? FWIW, Clojure doesn't

Re: Clojure statechart / hierarchical FSM implementation

2014-09-05 Thread pmf
On Friday, September 5, 2014 9:13:43 AM UTC+2, Andre Van Der Merwe wrote: Alternatively are there any papers or examples that you know of that discuss implementing statecharts? Most of the ones I’ve seen are code-gen tools and that does not really what I am after. You should definitely

RE: Clojure statechart / hierarchical FSM implementation

2014-09-05 Thread Andre vd Merwe
Great thanks You should definitely read Miro Samek's Practical UML Statecharts in C/C++: Event-Driven Programming for Embedded Systems That sounds great, I’ll take a look. while not really adhering to some aspects of Harel/UML semantics, I've found Yakindu Statecharts to be quite usable,

how do you name your protocols?

2014-09-05 Thread Dave Sann
I saw a comment on protocol naming here: https://groups.google.com/d/msg/clojure/A4xIitQWloU/6E4xHDTPPaIJ there is nothing in the coding standards: http://dev.clojure.org/display/community/Library+Coding+Standards (are these maintained?) is there any sensible consensus on good naming

Re: how do you name your protocols?

2014-09-05 Thread Jozef Wagner
I use IBlah (camel cased, prefixed with capital i) in both Clojure and ClojureScript. It looks better than PBlah and is consistent with how ClojureScript names its protocols. Jozef On Fri, Sep 5, 2014 at 11:52 AM, Dave Sann daves...@gmail.com wrote: I saw a comment on protocol naming here:

[ANN] Clojure 1.7.0-alpha2

2014-09-05 Thread Alex Miller
Clojure 1.7.0-alpha1 is now available. Try it via - Download: http://central.maven.org/maven2/org/clojure/clojure/1.7.0-alpha2/ - Download securely: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-alpha2/ - Leiningen: [org.clojure/clojure 1.7.0-alpha2] Highlights below, full change log

Re: [ANN] Clojure 1.7.0-alpha2

2014-09-05 Thread Alex Miller
Obviously, that should say: Clojure 1.7.0-alpha2 is now available. On Friday, September 5, 2014 9:27:06 AM UTC-5, Alex Miller wrote: Clojure 1.7.0-alpha1 is now available. Try it via - Download: http://central.maven.org/maven2/org/clojure/clojure/1.7.0-alpha2/ - Download securely:

[JOBS] Remote Clojure Developers Wanted

2014-09-05 Thread Eric Normand
Hi there! BuyHappy is growing and we need more Clojure developers! Our stack is Clojure and ClojureScript. We've got some great projects lined up, including an Om-based site. We use core.async, test.check, and lots of other amazing tools. Our dev team is 50% remote. US only. Very flexible

Re: Clojure Vim Ctags (oh my!)

2014-09-05 Thread Alan Thompson
Thanks for the 'gf' reference. I can't seem to find a way to go back, though (like popping the tag stack with crtl-T). Alan On Thu, Sep 4, 2014 at 3:48 PM, Gary Verhaegen gary.verhae...@gmail.com wrote: Not sure what you're trying to get from ctags, but fireplace itself gives you some

Re: Clojure Vim Ctags (oh my!)

2014-09-05 Thread Dave Ray
ctrl-o will take you back to your previous position after gf. At least it does for me. Dave On Fri, Sep 5, 2014 at 11:47 AM, Alan Thompson clooj...@gmail.com wrote: Thanks for the 'gf' reference. I can't seem to find a way to go back, though (like popping the tag stack with crtl-T). Alan

Re: Clojure Vim Ctags (oh my!)

2014-09-05 Thread Alan Thompson
Ah! Thank you! Alan On Fri, Sep 5, 2014 at 12:24 PM, Dave Ray dave...@gmail.com wrote: ctrl-o will take you back to your previous position after gf. At least it does for me. Dave On Fri, Sep 5, 2014 at 11:47 AM, Alan Thompson clooj...@gmail.com wrote: Thanks for the 'gf' reference. I

Re: how do you name your protocols?

2014-09-05 Thread john walker
As you demonstrated, P, I or nothing is up to taste. The only consensus I know of is camel case. https://github.com/bbatsov/clojure-style-guide#CamelCase-for-protocols-records-structs-and-types On Friday, September 5, 2014 2:52:48 AM UTC-7, Dave Sann wrote: I saw a comment on protocol naming

Re: [ANN] Clojure 1.7.0-alpha2

2014-09-05 Thread Nicola Mometto
Since tools.analyzer, tools.analyzer.jvm and tools.emitter.jvm are all multimethod intensive, I wondered if the multimethod default value caching commit had any significant impact in their performance. After stress testing tools.emitter.jvm using clojure 1.7.0-alpha1 (no multimethod patch) and

Re: [ANN] Clojure 1.7.0-alpha2

2014-09-05 Thread Alex Miller
Excellent, great to hear it! Big thanks to Anton who posted it on Twitter originally (https://twitter.com/PieCalculus/status/468621724205203456) and then took the time to send me a beautiful smoking gun report for reproducibility. The rest was easy. On Fri, Sep 5, 2014 at 8:34 PM, Nicola