Trying to learn clojure via some simple examples.

I would like to use a simple glob expression to open a file using read-
line

How would I write the equivalent of:

(for [line (read-lines "*.txt")]
    (print line))

Where *.txt would match only the first file found in the present
working directory

what I am actually trying to write is a program to read in a CSV,
apply to a hash-map, and extract some simple data, so the above is
intentional simplification

very powerful language, thanks to all that have worked on this

-- 
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

Reply via email to