Re: problems with slime and emacs

2008-11-01 Thread Chanwoo Yoo
Thanks! With the latest version of Clojure, slime does not show error messages, and works properly. But it seems that indentations are not applied to expressions in slime. Does it occur only to me? Or does slime not support indentation of Clojure code? --~--~-~--~~~---

Re: Not Your Daddy's Namespaces

2008-11-01 Thread Michael Wood
Hi On Wed, Oct 29, 2008 at 6:23 PM, bc <[EMAIL PROTECTED]> wrote: > > Hi all, > > I've posted a new article on my blog about Clojure Namespaces: > http://bc.tech.coop/blog/081029.html > > I would appreciate any comments/criticisms or additional insights. Your backslashes have gone missing in you

Re: Defining own data types on top of Persistent ones

2008-11-01 Thread Rich Hickey
On Oct 31, 1:20 pm, André Thieme <[EMAIL PROTECTED]> wrote: > In #Clojure Rich mentioned today that we can define our own data > structures on top of the existing ones. > Maybe someone wants/needs his own version of vectors that rearrange > automatically in some specific order or whatever. > > I

Re: Memory usage when iterating over lazy sequences

2008-11-01 Thread Rich Hickey
On Oct 31, 4:58 pm, Mark Triggs <[EMAIL PROTECTED]> wrote: > On Oct 31, 1:57 pm, Mark Triggs <[EMAIL PROTECTED]> wrote: > > > When I ran my code it very quickly ran out of memory and fell over. > > After thinking about it for a while I've realised it must be because my > > 'do-something' functio

howto: agent-based model

2008-11-01 Thread bOR_
Hi all, I'm in the process of converting an agent-based model I've written in ruby (don't ask, it is slower, but the code is a nice 150 lines rather than the 4000 my predecessor left behind in C) to Clojure, while at the same time using the screencasts to learn clojure (which works excellently,