This simple solution is symetrical, stores both rows and colums and this
way you get instant access both to any column and row with constant penalty
on get, assoc and update.
It feels a bit messy because you decided to not differentiate between
horizontal and vertical indices. That may be a goo
Thanks everyone for the response! As a Lisp newbie i may sound naive
but:
1) Why is cond and condp syntax inconsistent (necessity of :else)?
2) On page 1 of introduction to Lisp I read "(+ 1 2) but also (+ 1 2
3)". Wow prefix notation is cool. But imagine for a moment
that in an new exciting lan
Hi everyone!
I am currently learning Lisp and Clojure. A few days ago i read how
"if" in Arc works and I wonder why it is not the same in Clojure:
(if a b ; if a then b
c d ; elseif c then d
e) ; else e.
I thought a bit about it and it seems that Clojure hasn't improved