If I may venture an opinion here: aren't some people over-thinking and maybe even gold-plating this? My own version is succinct, and moreover when the requirements were changed/clarified it required only changing a single "constants" to "[]" in a single spot in a single line of code to adjust it.
YAGNI, folks. *If and when* you need multimethods and other complications rather than condp etc. sufficing, due to evolving requirements, then elaborate. Until then, do the simplest thing that works. :) -- 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