Re: [ANN] riddley: code-walking without caveats

2013-09-02 Thread Konrad Hinsen
--On 2 septembre 2013 13:49:01 -0700 Zach Tellman wrote: The resulting library is called Riddley [2]. For obvious reasons, I've named it after a book which is written entirely in a barely-readable pidgin dialect. While there may be lingering issues, it's good enough to replace the code-walkin

Re: Compiling Clojure security knowledge

2013-09-02 Thread Nelson Morris
On Mon, Sep 2, 2013 at 6:25 AM, abp wrote: > clojars uses https://github.com/ato/**clojars-web/blob/master/src/** >> clojars/web/safe_hiccup.clj >> >> which automatically escapes. > > > But that double escapes attribu

Re: evaluation order in loading file/project (with leiningen)

2013-09-02 Thread Waldemar
Hi Erebus, I am also new so I'm also just guessing. What if you execute the code inside define-all-properties directly without wrapping it in a function? Am 02.09.2013 um 19:04 schrieb Erebus Mons : > (defn define-all-properties > [] > (for [ stuff ] >... >(eval `(defn ~name [arg#] >

Re: evaluation order in loading file/project (with leiningen)

2013-09-02 Thread Armando Blancas
> > I assume that making a makro out of *define-all-properties* is not the way > to go, because it depends on the reading of a file, which should not yet > be > done at compile time (this may be a false assumption;...). > > Seems to me this is the key to how you'd construct your program. The cs

[ANN] riddley: code-walking without caveats

2013-09-02 Thread Zach Tellman
When I announced Proteus [1], it was rightfully pointed out that it didn't play nicely with macros which rely on &env, as well as a few forms like 'letfn' that I hadn't explicitly handled. This flaw has been shared by pretty much every library of this sort, and since this is a problem I've hal

Re: lazy seq from reducers with core.async

2013-09-02 Thread Jozef Wagner
Another nice abuse of core.async is for the implementation of multi-reducible collections. Here is the implementation of interleave accepting/producing reducibles. Slower than lazy seqs, but hey, you can feed it with any reducible coll. BTW anybody knows the status of multi reducibles? Are they

Re: Clojure On Java Friendly Microcontrollers, Beaglebone, etc

2013-09-02 Thread Jeremy Wright
Thanks for the great information nakkaya. You've worked on some very cool things. About the Java friendly micros - I mentioned Systronix, but it looks like that community and product line may be dormant or even abandoned. There haven't been any posts to their Google Groups or many of their foru

Re: Java Metadata Wrapper

2013-09-02 Thread Cedric Greevey
On Sun, Sep 1, 2013 at 9:58 AM, Colin Jones wrote: > I thought of protocols initially here too, but protocols just define > functions, so where would the data live that you want as metadata? > > A closure over the data? This implies extending the protocol on a > per-instance basis, which afaik do

evaluation order in loading file/project (with leiningen)

2013-09-02 Thread Erebus Mons
Hi, I am trying to find my way around clojure and leiningen. I created a project with lein new, and up to now, all my code is in the src/../core.clj file I have a function that defines functions based on what is read in from a csv-file, in the following format: (defn define-all-properties []

Clojure for the Brave and True, an online book for beginners

2013-09-02 Thread Daniel Higginbotham
Hi all, I've been putting together http://www.braveclojure.com/ and would love feedback. I've tried to make it entertaining and super beginner-friendly. Thanks! Daniel -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send

Re: Compiling Clojure security knowledge

2013-09-02 Thread abp
> > clojars uses > https://github.com/ato/clojars-web/blob/master/src/clojars/web/safe_hiccup.clj > > which automatically escapes. But that double escapes attribute values if you don't put them in raw-calls. On Monday, September 2, 2013 6:32:59 AM UTC+2, Ivan Kozik wrote: > > On Sun, Sep 1,