Hi! I am thinking about using Clojure for distributed NLP. Being an absolute newbie in Clojure I look for nice expressive code snippets.
For example, I need an easy way to read text files such as in the following Python code: >>> for line in open("file.txt"): ... for word in line.split(): ... if word.endswith('ing'): ... print word What would be an equivalent of this code in Clojure? Thanks, Dmitri -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en