Re: Best practice for distributing a standalone clojure command line utility

2011-06-17 Thread Michael T. Nygard
If you use Cake to build your project, then "cake bin" will create a standalone executable. Cheers, -Michael On Jun 16, 2011, at 2:08 PM, Damon Snyder wrote: > Hi Everyone, > I'm have a side project that I'm working on that I want to distribute > as a standalone script. This is probably best il

Multimethod dispatch with predicates in the methods?

2011-06-17 Thread Michael T. Nygard
Hi all, I have some code in Scheme that I'm converting over to Clojure. It frequently uses a dispatching pattern that's very similar to multimethods, but with an inverted approach to the matching predicates. For example, there a generic function "assign-operations". The precise implementation