core
core copied to clipboard
Extract the module system
:duct/module functionality should be :integrant/module and be implemented either in integrant or an intermediary project like integrant-module, as it has a level of generality beyond duct. And have it be in cljc.
I'm considering it, but I don't want to put anything in Integrant until I have a stable API. You may have noticed that the module system has changed in the 0.11 alpha versions.
Is the API stable yet? Would be nice to have this available in cljs.
No, but we could always add cljs support to duct/core.
I have boiled the module system to this duct.core extraction, in cljc form. I'm considering publishing it to clojars, unless there's a more official plan for it. Duct core could piggyback on it adding daemons and servers and whatnot.
The Duct module system isn't stable yet, and will likely be changed in the next six months. You're free to separate out whatever you want from Duct, however.
Forked here: https://github.com/tape-framework/module Naming is changed from duct.core to tape.module. It supports both Clojure & ClojureScript, however the functionality is reduced.