I plan on doing ICFP 2010 next weekend in clojure (1.1), if the problem is interesting. In preparation, I'm currently doing the (implementation-wise) crucial bits of last year's contest.
I put the first part of my implementation online: http://read-eval-puke.blogspot.com/2010/06/icfp-2009-orbit-binary-file-reader.html so anyone who's interested do have a look. It would be great to see others participating in this year's contest! I found last year's problem really interesting - implementing a vm and a binary file parser and then using it to solve the actual problems. You can form teams of any size. And if I get any good suggestions (you can comment in my blog), I'll work them into the code, so it can be used as a cheat sheet in case we get similar problems this year. There's one question that came up when I implemented this. Is there a way to get the name of a clojure function, when all I have is the function object? Is it stored alongside the function? I didn't see any metadata or anything. Would I really have to reverse lookup the name in some namespace maps? The hack I'm currently using is a reverse-lookup map that I manually fill with all the functions that I need, which is only a few: user=> (def fn-to-name { > ">" < "<" = "=" >= ">=" <= "<=" }) #'user/fn-to-name user=> (fn-to-name >) ">" Cheers Eugen -- 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