Hi all, in an attempt to find the more idiomatic way to modularize Clojure applications, I was thinking at the role protocols play in such a context. That is, let's say we have a Clojure application with each source file representing a different module (there may obviously be other files with helper/util functions but we don't care about them): what's the idiomatic way to "export" functions between modules? What about grouping those functions in one or (a few) more protocols per module? By doing so, we have a clear separation of the different modules, as well as a clear identification of the exported functions, but we also have more typing (protocol+record/type definition) and possibly non-polymorphic use of protocols. What are your thoughts about that?
Thanks! Cheers! Sergio B. -- Sergio Bossa http://www.linkedin.com/in/sergiob -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
