Hi Randy, You can access a seq of the command line args via the *command-line- args* var.
On Jan 16, 3:03 pm, "Randy J. Ray" <randy.j....@gmail.com> wrote: > On 01/12/2011 11:50 PM, Robert McIntyre wrote: > > > They seem to allow you to include anything in a lib directory that you'd > > want. > > > I sometimes include apache commons-io and clojure-contrib1.2 without > > any problems. > > I also included a sql connection library for one of the problems, so > > it seems fine :) > > For those puzzles that require command-line processing, have you used a > library > to do it? Looking in both "Programming Clojure" and "Practical Clojure", the > only instruction I can find on handling command-line args involves AOT > compilation of your class and definition of a -main method. I'm not sure how > well this would work with the submission model that Coderloop uses. > > I'm afraid I'm still *very* new to Clojure, and while it would be easy (for > me) > to solve the problems in other languages, the point of the exercise (for me) > is > to use Coderloop's problems to help myself in learning Clojure... > > Randy > > -- > """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" > """" > Randy J. Ray Sunnyvale, CA http://www.rjray.org > rj...@blackperl.com http://www.svsm.org > randy.j....@gmail.com > http://twitter.com/rjray -- 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