Re: Find all ties in a sorted list

2010-11-11 Thread nicolas.o...@gmail.com
A solution based on unfold with the last element read (or initially nil) and the rest of the list as a seed. On Thu, Nov 11, 2010 at 12:12 AM, David Jacobs develo...@allthingsprogress.com wrote: Thanks for all of the options, and Ken, thanks for the detailed comparison. This will be extremely

Re: Collapse some functions? (was Re: clojure.core function decision tree)

2010-11-11 Thread pepijn (aka fliebel)
I like this! It would be very helpful to have a type-hinted arglist(So I know it takes a seq and a number), and :similar to group things like map, pmap, amap, and :for for functions which are made for a specific thing, like swap! or deref. On Nov 11, 1:04 am, Michael Gardner gardne...@gmail.com

Can't get started with maven

2010-11-11 Thread Jarl Haggerty
Leiningen was working just fine and I was perfectly happy, and one day I decided I'd like to wrap my head around maven. The instructions for using the maven clojure plugin are very concise and easy to follow, but they just don't seem to work for me. My pom.xml is at the bottom of this message.

possible (try (finally)) bug

2010-11-11 Thread Micah Martin
Hi All, I stumbled across this strange behavior... user= (try (finally (doseq [_ [1 2]]))) java.lang.UnsupportedOperationException: Cannot recur from catch/finally (NO_SOURCE_FILE:79) It doesn't seem right to me. Is it a bug? Micah -- You received this message because you are subscribed to

Re: Being not Lisp is a feature?

2010-11-11 Thread Shantanu Kumar
And then comes this (Paul Stadig's tweet, RT by Stuart Sierra :) http://language-comparison.s3.amazonaws.com/comparison.html Regards, Shantanu On Nov 11, 1:33 am, lprefonta...@softaddicts.ca wrote: Sometimes a bit of acid in a joke improves it... I`ll be there next year certainly :))

Re: Being not Lisp is a feature?

2010-11-11 Thread Mike Anderson
On Nov 10, 4:42 am, lprefonta...@softaddicts.ca wrote: Gosu - standard athlete on performance enhancing drugs (EPO, steroids, ...) Clojure - genetically modified athlete Presumably the genetically modified athlete was also born on Krypton :-) -- You received this message because you are

Re: Collapse some functions? (was Re: clojure.core function decision tree)

2010-11-11 Thread Gary Poster
On Nov 11, 2010, at 10:36 AM, Gary Poster wrote: To dupe, this is my really-fast definition of seq-reverse, ...really fast is supposed to mean really quickly written not highly performance optimized... -- You received this message because you are subscribed to the Google Groups Clojure

Re: Being not Lisp is a feature?

2010-11-11 Thread lprefontaine
Hi, You are lucky you do not work with me day to day, my sense of humor is not always on. The last two weeks I had to interact with zombies in two different IT departments (two separate customers) and swearing mode was on for most of that period. Yesterday was particularly awful. I think you

Re: Simple Neural Network DSL -- request for feedback

2010-11-11 Thread Eric Schulte
Hi Saul, Saul Hazledine shaz...@gmail.com writes: On Nov 10, 11:20 pm, Eric Schulte schulte.e...@gmail.com wrote: Hi, Inspired by cgrand's regexp example [1], I've implemented a simple DSL for specifying neural networks using Clojure data types.   This is really clear. The web page

Re: Simple Neural Network DSL -- request for feedback

2010-11-11 Thread Eric Schulte
Sean Grove otokora...@gmail.com writes: Very elegant. From the example, it looks like it takes away a great deal of the tedium of neural networks. Thanks, that is certainly the goal. Do you have any more significant code examples than those listed on [3]? At the bottom of [3] I link to

Re: REQUEST for feedback on http://clojure.org

2010-11-11 Thread Rasmus Svensson
I also noticed that clojure.org/agents does not mention the *agent* var... // raek -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be

Regarding lexical scoping and usage of 'let' in a recursive function call

2010-11-11 Thread Manoj
I am a newbie to Clojure, so have some confusion around lexical scoping especially when let is used in a recursive function call. To be more precise, I am taking the example memoize() function used for explaining the concept of atom at clojure.org. Here is how it is explained: (defn memoize [f]

Re: Regarding lexical scoping and usage of 'let' in a recursive function call

2010-11-11 Thread Ken Wesson
On Thu, Nov 11, 2010 at 3:06 PM, Manoj andhappi...@gmail.com wrote: I am a newbie to Clojure, so have some confusion around lexical scoping especially when let is used in a recursive function call. To be more precise, I am taking the example memoize() function used for explaining the concept

Re: Simple Neural Network DSL -- request for feedback

2010-11-11 Thread Carson
Hi! That looks interesting. I'm curious how big a network are you intending to experiment with? (ie, # of layers, size of layers?). Carson On Nov 11, 8:17 am, Eric Schulte schulte.e...@gmail.com wrote: Hi Saul, Saul Hazledine shaz...@gmail.com writes: On Nov 10, 11:20 pm, Eric Schulte