Add toplevel 8sync.scm file.
[8sync.git] / 8sync.scm
diff --git a/8sync.scm b/8sync.scm
new file mode 100644 (file)
index 0000000..9c074bd
--- /dev/null
+++ b/8sync.scm
@@ -0,0 +1,28 @@
+;;; 8sync --- Asynchronous programming for Guile
+;;; Copyright (C) 2016 Christopher Allan Webber <cwebber@dustycloud.org>
+;;;
+;;; This file is part of 8sync.
+;;;
+;;; 8sync is free software: you can redistribute it and/or modify it
+;;; under the terms of the GNU Lesser General Public License as
+;;; published by the Free Software Foundation, either version 3 of the
+;;; License, or (at your option) any later version.
+;;;
+;;; 8sync is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU Lesser General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU Lesser General Public
+;;; License along with 8sync.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (8sync))
+
+(eval-when (eval load compile)
+  (begin
+    (define %public-modules
+      '(agenda actors))
+    (for-each (lambda (m)
+                (module-use! (module-public-interface (current-module))
+                             (resolve-interface `(8sync ,m))))
+              %public-modules)))