Re: Group words by their first letter and sum their frequencies

2013-07-11 Thread James Trunk
Hi Andy, I'd missed the more recent versions with tool-tips, thank you for pointing me to them. Regards, James On Thursday, July 11, 2013 5:11:21 PM UTC+2, Andy Fingerhut wrote: > > There is a link "Download other versions with tooltips" near the top of > the Clojure Cheat Sheet page (http://c

Re: Group words by their first letter and sum their frequencies

2013-07-11 Thread Andy Fingerhut
There is a link "Download other versions with tooltips" near the top of the Clojure Cheat Sheet page (http://clojure.org/cheatsheet) that links to versions that are a bit more recent, and they include tooltips of the doc strings when you hover your cursor over the symbol. The version at clojure.or

Re: Group words by their first letter and sum their frequencies

2013-07-11 Thread James Trunk
Hello Laurent, Thank you so much for your detailed and helpful reply. > You could use the new as-> macro in clojure 1.5 Is it possible to get as-> to work with thread-last? > depends :-) since your 2 fns are helper fns rather than > generically-reusable fns, I would make them private to enforc

Re: Group words by their first letter and sum their frequencies

2013-07-11 Thread Laurent PETIT
Hello James, 2013/7/11 James Trunk : > Hi everyone, I'm new to Clojure and trying to learn my way around the > language. > > I've written a function that sums the frequencies of words starting with the > same letter, however I'm not fully satisfied with the result. I'm striving > for readability a

Group words by their first letter and sum their frequencies

2013-07-11 Thread James Trunk
Hi everyone, I'm new to Clojure and trying to learn my way around the language. I've written a function that sums the frequencies of words starting with the same letter, however I'm not fully satisfied with the result. I'm striving for readability and idomaticity, but I fear that my rather limi