(def even-nums [1 2 3 4 5 6 7 8])
(defn pairup [collection]
(loop [coll collection results []]
(if (> (count coll) 0)
(recur (drop 2 coll) (conj results (take 2 coll)))
results)))
user> (pairup even-nums)
[(1 2) (3 4) (5 6) (7 8)]
On Apr 29, 12:32 pm, "john.holland" wrote:
>
You need this jar file j3d-core-1.3.1.jar in your classpath
If you are using leiningen then add this to your project.clj [java3d/
j3d-core "1.3.1"]
if not then you can download that jar from here
http://repo2.maven.org/maven2/java3d/j3d-core/1.3.1/
-Devender
On Dec 11, 9:15 am, rebca
Thanks for updating my clojure-dev membership
On Dec 10, 1:33 pm, devender wrote:
> Hi, I am interested in expanding the unit test coverage for clojure, I
> have signed and mailed in the Agreement and my name now appears on the
> clojure contributer page. Could someone PLEASE take my pa
if my membership
is always in "pending status". It is really frustrating. I have tried
sending message through github but no one seems to respond.
-Devender
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send
quired libs into the lib
directory
4. then do a lein install that installs mytestprj.jar.
I agree that it will be nice if lein was more like 'mvn
archetype:generate' and would ask all the required info and create but
its a new project so go easy on it ;-)
-Devender
On Dec 7, 6:05 am, B
user=> (import '(java.util.logging Logger Level))
nil
user=> (def my-logger (Logger/getLogger "mylogger"))
#'user/my-logger
user=> (. my-logger setLevel Level/WARNING)
nil
user=> (. my-logger warning "this is a warning")
Nov 25, 2009 5:38:25 AM sun.reflect.NativeMethodAccessorImpl invoke0
WARNING: