diff --git a/sjson.scm b/sjson.scm new file mode 100644 index 0000000..551db60 --- /dev/null +++ b/sjson.scm @@ -0,0 +1,22 @@ +;;; Commentary: + +;;; Code: + +(define-module (sjson) + #:use-module (sjson builder) + #:use-module (sjson parser) + #:use-module (sjson record)) + +(define-syntax re-export-modules + (syntax-rules () + ((_ (mod ...) ...) + (begin + (module-use! (module-public-interface (current-module)) + (resolve-interface '(mod ...))) + ...)))) + +(re-export-modules (sjson builder) + (sjson parser) + (sjson record)) + +;;; (sjson) ends here diff --git a/swayipc.scm b/swayipc.scm new file mode 100644 index 0000000..8d3f1b6 --- /dev/null +++ b/swayipc.scm @@ -0,0 +1,26 @@ +;;; Commentary: + +;;; Code: + +(define-module (swayipc) + #:use-module (swayipc connection) + #:use-module (swayipc dispatcher) + #:use-module (swayipc events) + #:use-module (swayipc info) + #:use-module (swayipc records)) + +(define-syntax re-export-modules + (syntax-rules () + ((_ (mod ...) ...) + (begin + (module-use! (module-public-interface (current-module)) + (resolve-interface '(mod ...))) + ...)))) + +(re-export-modules (swayipc connection) + (swayipc dispatcher) + (swayipc events) + (swayipc info) + (swayipc records)) + +;;; (swayipc) ends here