From c9d851ff82c14f676e0b9a652ff66eb5225191ba Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Fri, 9 Sep 2016 19:27:21 +0200 Subject: [PATCH] Root file for the module --- gacela.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gacela.scm b/gacela.scm index ea649e2..5b31c64 100644 --- a/gacela.scm +++ b/gacela.scm @@ -16,3 +16,17 @@ (define-module (gacela)) + +;;; Based on Sly code. Thank you so much!! + +(eval-when (eval load compile) + (begin + (define %public-modules + '((gacela image) + (gacela math) + (gacela scene))) + + (for-each (let ((i (module-public-interface (current-module)))) + (lambda (m) + (module-use! i (resolve-interface m)))) + %public-modules))) -- 2.39.5