Re: New ns function

2008-08-30 Thread Rich Hickey
On Aug 30, 10:53 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I've been playing with the new (ns) method and I like it. When I read > the docs I found that I wasn't using it correctly, although my usage > seems to work just fine and be a little nicer ( where I define nicer > by the numbe

Re: The ant simulation

2008-08-30 Thread Robert Lally
Thanks Rich. 2008/8/30 Rich Hickey <[EMAIL PROTECTED]> > > > > On Aug 30, 10:52 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > In the ant simulation the world function looks like this > > > > (def world > > (apply vector > > (map (fn [_] > >(apply ve

Re: The ant simulation

2008-08-30 Thread Robert Lally
2008/8/30 Parth Malwankar <[EMAIL PROTECTED]> > > vector takes individual elements as arguments and map > returns a list. If we simply (vector (map ..)) the entire > list returned by map is seen as a single element. Hence > 'apply'. > > user=> (vector 1 2 3) > [1 2 3] > user=> (map inc [1 2 3]) >

Re: Google Code?

2008-08-30 Thread Rich Hickey
On Aug 30, 10:37 am, Randall R Schulz <[EMAIL PROTECTED]> wrote: > On Saturday 30 August 2008 06:53, Rich Hickey wrote: > > > Google has recently opened up Google Code to hosting projects using > > the Eclipse Public License, the successor to the CPL used by Clojure. > > > Right now I'm only usi

generating clj docs

2008-08-30 Thread Parth Malwankar
Hello, I have uploaded a script gen-clj-docs.clj in the file area that goes through all the clojure and clojure-contrib modules and dumps out the latest docs from sources as txt files. It leverages clojure.contrib.ns-utils for this (thanks!). Thought that some people might find this useful. http

Re: The ant simulation

2008-08-30 Thread Rich Hickey
On Aug 30, 10:52 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > In the ant simulation the world function looks like this > > (def world > (apply vector > (map (fn [_] >(apply vector (map (fn [_] (ref (struct cell 0 0))) >

Re: genclass emits improper bytecode for methods with > 18 arguments

2008-08-30 Thread Rich Hickey
On Aug 20, 4:06 pm, Chas Emerick <[EMAIL PROTECTED]> wrote: > I'm back to wading in unfamiliar waters (java bytecode). In the > process of using some bytecode verification tools on a couple of > classes emitted by genclass (we're using r994 at the moment), I > stumbled across a couple of errors

Re: The ant simulation

2008-08-30 Thread Parth Malwankar
On Aug 30, 7:52 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > In the ant simulation the world function looks like this > > (def world >      (apply vector >             (map (fn [_] >                    (apply vector (map (fn [_] (ref (struct cell 0 0))) >                                

Re: Google Code?

2008-08-30 Thread Parth Malwankar
On Aug 30, 6:53 pm, Rich Hickey <[EMAIL PROTECTED]> wrote: > Google has recently opened up Google Code to hosting projects using > the Eclipse Public License, the successor to the CPL used by Clojure. > > Right now I'm only using SF for SVN, as the web interface on SF for > anything else is quit

New ns function

2008-08-30 Thread [EMAIL PROTECTED]
I've been playing with the new (ns) method and I like it. When I read the docs I found that I wasn't using it correctly, although my usage seems to work just fine and be a little nicer ( where I define nicer by the number of characters I type ). The docs suggest this usage: (ns foo (:use (my.l

The ant simulation

2008-08-30 Thread [EMAIL PROTECTED]
In the ant simulation the world function looks like this (def world (apply vector (map (fn [_] (apply vector (map (fn [_] (ref (struct cell 0 0))) (range dim (range dim I'm not sure why the calls t

Re: Google Code?

2008-08-30 Thread Randall R Schulz
On Saturday 30 August 2008 06:53, Rich Hickey wrote: > Google has recently opened up Google Code to hosting projects using > the Eclipse Public License, the successor to the CPL used by Clojure. > > Right now I'm only using SF for SVN, as the web interface on SF for > anything else is quite cumber

Google Code?

2008-08-30 Thread Rich Hickey
Google has recently opened up Google Code to hosting projects using the Eclipse Public License, the successor to the CPL used by Clojure. Right now I'm only using SF for SVN, as the web interface on SF for anything else is quite cumbersome. I could easily move to EPL for Clojure, making hosting a

Re: lib integrated into clojure namespace

2008-08-30 Thread Crsteen
Congratulations Steve on your amazing work and accomplishment. Your dedication to the improvement of Clojure deserves a medal. I'm only new to this all, but am looking forward to the future. :P --Christine Poole --~--~-~--~~~---~--~~ You received this message beca

Re: New Release of VimClojure: v1.2.0

2008-08-30 Thread Parth Malwankar
On Aug 30, 5:53 pm, Parth Malwankar <[EMAIL PROTECTED]> wrote: > On Aug 30, 3:35 am, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote: > > > Please test this release since it is due for upstream inclusion in Vim. > Sorry for the double post. Just wondering if you have seen/used the lisp_rainbow sup

Re: New Release of VimClojure: v1.2.0

2008-08-30 Thread Parth Malwankar
On Aug 30, 3:35 am, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote: > Dear Clojurians, > > a new version of VimClojure is available. I tried to fix also the string > handling for the indenting. This should work now. Please note that there > is still some issue with a line ending in a comment contai