28 ms·
You'll quickly get the coolest functions if you do the problems on 4clojure.com. Checking solutions of the best users after my own was enlightening. The typical
by praptak 12y ago
You'll quickly get the coolest functions if you do the problems on 4clojure.com. Checking solutions of the best users after my own was enlightening. The typical compression ratio is a 7 lines nested monster with loops to a one line snippet :)
By the way, after 4clojure 'apply' would be within my top 10. It might not look like much (man, I can call my fns directly!) but the fact it can prepend individual arguments to the sequence makes it a very useful tool: (apply mapv vector m) transposes m (assuming vector of vectors). Cool, huh? My own transpose would not be that terse :)
- vanderZwan 12y agoUnless there's a connection to foreclosures that I'm unaware of, I think you meant: http://www.4clojure.com/ http://www.4clojure.com/ But despite that silly typo, thanks for the link!
- praptak 12y agoCorrected, thanks!