On Jul 7, 5:06 pm, Isak Hansen isak.han...@gmail.com wrote:
On Wed, Jul 7, 2010 at 5:00 PM, Lars Nilsson chamael...@gmail.com wrote:
Maybe
(doseq [year (range 1999 2010 1)]
(doseq [month (range 1 53 1)]
(print-data year range)))
You could also do this with dotimes instead of
...
(game-action weld chain bucket attic
(if ((and (have 'bucket) (alter-var-root (var *chain-welded*) (fn
^
Your if-condition is nested one form too deeply; try (if (and (have
'bucket) ...) ...)
I haven't tried it, so there might be other problems.
-Dave
--
You
On Dec 6, 1:20 pm, CuppoJava patrickli_2...@hotmail.com wrote:
This is expected behavior.
eg. (str (map identity [1 2 3]))
returns clojure.lang.lazy...@7861
The way to think about it is, (str) asks for the string representation
of an object. The string representation of a lazy sequence in
On Dec 2, 9:09 pm, David Brown cloj...@davidb.org wrote:
...
If you're running JDK 6, you can run the virtualvm, or jconsole to get
a better handle on the memory usage, and even dig into what it might
used for.
Google does not return useful references to a tool called virtualvm;
perhaps you
On Dec 2, 11:15 pm, lazy1 miki.teb...@gmail.com wrote:
Hello,
I'm trying to create a factory method for Java classes, however I'm
doing something wrong.
(import '(java.util Dictionary HashMap))
(def *containers* { :dict Dictionary :hash HashMap})
(defn new-container
[type]
(new