Re: Sweet-expressions

2013-03-25 Thread Antoine Noo
Some idea for alternative clojure syntax: (first | first coll) ; (first (first coll)) (count | first | second coll) ; (count (first (second coll))) (nth % 2 | first coll) ; (nth (first coll) 2) (+ 1)# ; (partial + 1) (+ 1 (* 2))## ; (fn [nb] (+ 1 (* 2 %)) (count | first | second)## ; (fn [coll]

Re: Coding while running the program

2013-03-24 Thread Antoine Noo
Hello, You can use var as references. example: (def A 1) (def B (var A)) (def A 12) @B give you 12 if A is a function (@B) and (B) execute A's function. 2013/3/24 Oskar Kvist > George Oliver: I actually tried penumbra (the graphics lib he uses in the > tetris video) and was able to code whil