Thanks Itay, that's exactly what I need.
On Thu, Mar 5, 2009 at 1:15 PM, Itay Maman wrote:
>
> Here's how plugin support is implemented in Waterfront:
>
> The last expression in each plugin is the "plguin init function": a
> function (can be anonymous) that takes a single parameter (a map) and
>
Here's how plugin support is implemented in Waterfront:
The last expression in each plugin is the "plguin init function": a
function (can be anonymous) that takes a single parameter (a map) and
returns new map.
The load-plugin function takes a strings (specifying the path to
a .clj file), and per
Hi,
How would one create a "plugin" modular composition using clojure
functions/modules only (i.e without resorting to java interface/
plugin class implementations)?
For example;
; say myutil/ut1.clj contains
(ns 'myutil.ut1)
(defn foo [] :foo-ut1)
; and myutil/ut2.clj contains
(ns 'myutil.ut2)