Re: Using metadata to specify how calls to a macro should be indented

2015-09-22 Thread Fluid Dynamics
On Tuesday, September 22, 2015 at 6:31:34 AM UTC-4, Phillip Lord wrote: > > ... The interesting question then is what > percentage of the time do Clojure developers work *without* a repl > active. > Uhhh, zero? :) -- You received this message because you are subscribed to the Google Groups

Re: Using metadata to specify how calls to a macro should be indented

2015-09-22 Thread Gary Trakhman
Sometimes more than 0% when I'm doing something small in clojurescript, can't be bothered with the setup, and browser refresh is good enough :-). On Tue, Sep 22, 2015 at 4:02 PM Fluid Dynamics wrote: > On Tuesday, September 22, 2015 at 6:31:34 AM UTC-4, Phillip Lord wrote: >>

Re: [ANN] Release of pulley.cps 0.2.0

2015-09-22 Thread Francesco Bellomi
Thanks for taking the time to write such a detailed answer, I really appreciated it. Delimited continuations are useful since they return a value, and thus may be reused and composed, and used to build complex control mechanisms. In my opinion the coolest use of delimited continuations are

data.xml update

2015-09-22 Thread Herwig Hochleitner
Hello Everybody, it took me about a year and multiple failed rewrites, to admit, that keeping a compatibility mode for the current prefix-emitting hack in clojure.data.xml, is just to much of a hassle and complexity nightmare for it to be worth it. So now, non-namespaced names are represented as

Re: Using metadata to specify how calls to a macro should be indented

2015-09-22 Thread Artur Malabarba
You're right about indentation depending on the code being evaluated, but that's still better than nothing. ☺ People who do a significant amount of coding without a live session can still manually configure indentation like they currently do, and they're no worse off. The editor can even parse

A generalization of iterate

2015-09-22 Thread nchurch
I was going through 4clojure (highly recommended!) and doing the Fibonacci exercise. It occurred to me that the iterate function could be generalized in a reasonable way, so that the next value is generated by applying the function to the last N items so far, where N is the number of initial

Re: Clojure performance on Android

2015-09-22 Thread Ben Brinckerhoff
On my team, we tried using RoboVM to compile Clojure to iOS. It worked fine once it booted, but startup time was a concern. We didn't spend a lot of time optimizing it though. We also found the compile/boot cycle to be quite long (over 50s to see a change). My understanding (perhaps mistaken)

Re: [ANN] Release of pulley.cps 0.2.0

2015-09-22 Thread Nathan Davis
On Tuesday, September 22, 2015 at 6:37:13 AM UTC-5, Francesco Bellomi wrote: > > Hi Nathan, > > I think it's an awesome project, thanks for sharing this. > > Thanks. I appreciate the feedback. > I see that currently only full continuations are supported. Would it be > possible/feasible/easy

Re: Using metadata to specify how calls to a macro should be indented

2015-09-22 Thread Colin Yates
Do you know about lein figwheel? On 22 Sep 2015 21:05, "Gary Trakhman" wrote: > Sometimes more than 0% when I'm doing something small in clojurescript, > can't be bothered with the setup, and browser refresh is good enough :-). > On Tue, Sep 22, 2015 at 4:02 PM Fluid

Re: A generalization of iterate

2015-09-22 Thread Max Countryman
I wonder if something like this is a little easier to read? (defn generate ([f coll] (generate f coll (reverse coll))) ([f coll args] (let [next-val (apply f args)] (lazy-cat coll (generate f [next-val] (conj (butlast args) next-val)) Where your Fibonacci example becomes:

Re: [:ann] cats 1.0.0

2015-09-22 Thread Martin Raison
Great work! Le jeudi 17 septembre 2015 04:47:42 UTC-7, Alejandro Gómez a écrit : > > Hello everyone, > > I'm glad to announce the 1.0.0 release of cats[1], a library with > category theory > and algebraic abstractions for Clojure(Script). This release packs a lot > of new > features and it

Re: [ANN] Release of pulley.cps 0.2.0

2015-09-22 Thread Nathan Davis
Thanks, Francesco. I'll definitely take a look at those resources. Nathan Davis On Tuesday, September 22, 2015 at 4:31:07 PM UTC-5, Francesco Bellomi wrote: > > Thanks for taking the time to write such a detailed answer, I really > appreciated it. > > Delimited continuations are useful since

Re: Using metadata to specify how calls to a macro should be indented

2015-09-22 Thread Phillip Lord
Fluid Dynamics writes: > On Tuesday, September 22, 2015 at 6:31:34 AM UTC-4, Phillip Lord wrote: >> >> ... The interesting question then is what >> percentage of the time do Clojure developers work *without* a repl >> active. >> > > Uhhh, zero? :) Some I am sure. I do,

Clojure performance on Android

2015-09-22 Thread Roger Keays
Hi all, Thanks for giving the world Clojure. It's already made my life better just by applying the idioms to my Java code (e.g. http://www.ninthavenue.com.au/java-with-no-design-patterns). I'm starting on a new project soon and would like to use Clojure, however in my experiments so far

Re: ClojureScript vs. Elm for Multiplayer Web Game

2015-09-22 Thread JvJ
Also, I noticed that http-kit is being used in the zombie game tutorial. How does that stack up against node in terms of capability? On Monday, 21 September 2015 21:22:51 UTC-7, JvJ wrote: > Wow! An unexpected number of resources on exactly what I'm looking for! > Thanks! > > ... but I am

Re: Using metadata to specify how calls to a macro should be indented

2015-09-22 Thread Phillip Lord
Artur Malabarba writes: > Over at CIDER we're adding a feature where the author of a macro (or > function) can specify how that macro should be indented by adding an :indent > metadata to its definition. This way the editor (and other tools, like > cljfmt) will

Re: [ANN] Release of pulley.cps 0.2.0

2015-09-22 Thread Francesco Bellomi
Hi Nathan, I think it's an awesome project, thanks for sharing this. I see that currently only full continuations are supported. Would it be possible/feasible/easy to support delimited continuations? (ie. with ranges different from the outermost CPS context) Also, it would be interesting to

scheduling with core.async?

2015-09-22 Thread Leon Grapenthin
Is it recommended to use core.asyncs timeout channel to wait on hour or even longer for light scheduling tasks? High precision is a nongoal. Kind regards, Leon. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to