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 at Google Code a possibility, and am
interested in feedback from anyone who has hosted at Google Code or
participated in a project that did.

Thanks,

Rich
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



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://groups.google.com/group/clojure/web/gen-clj-docs.clj

Note that its best to run this in a separate folder
as it creates 1 txt file for each ns.

Parth

--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



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 vector (map (fn [_] (ref (struct cell 0 0)))
(range dim
   (range dim
 
  I'm not sure why the calls to '(apply vector' are required. I have two
  theories:
 
  * It is to work round the lazy nature of map and force the creation of
  all of the refs. If this is the case, can anyone enlighten me as to
  why this might be necessary?
  * It is a performance optimisation to make lookups of faster later.

 Yes, we want to look up by index, and so use a vector.

 Note that (apply vector s) is never needed now, use (vec s) instead.

 Rich

 


--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---