Multimethod or protocol or...? Clojure design feedback

2015-05-14 Thread Jason Marmon
I'm working on a tool to orchestrate the migration from mongodb to datomic, and i'm looking for a bit of design feedback as i'm new to clojure. The user needs to provide functions that transform mongodb documents into datomic txes. Do y'all prefer the top or bottom style, or think there's a

Re: Multimethod or protocol or...? Clojure design feedback

2015-05-15 Thread Jason Marmon
. Is there a cleaner way of make sure that the defmulti knows about those methods? On Thursday, May 14, 2015 at 7:56:12 PM UTC-4, Jason Marmon wrote: > > I'm working on a tool to orchestrate the migration from mongodb to > datomic, and i'm looking for a bit of design fee