News for hackers. Stuff that matters.
Re:Clojure Distilled by arms on Friday September 26, 2014 @05:42PM (#8375061)
So I'm about half way through it now. I'm really impressed with how much information it's conveying in a succinct form. I'm going through Clojure for the Brave and True, and think this supplements it nicely.

There are a few typos, but the most glaring one was the incomplete python code underneath the "Code Structure" heading:

l = [1, 2, 3, 4, 5]

for i in l i = i*i

for i in l if (i mod 2 == 0)

print l

I assume the author wanted to show how the list was mutated. And those conditionals need trailing colons :)

Re:Clojure Distilled by yogthos on Saturday September 27, 2014 @11:37AM (#8377280)
thanks, I just fixed that, I'm not a python guy as you can tell :)