Add toplevel 8sync.scm file.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 20 Dec 2016 20:23:45 +0000 (14:23 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 20 Dec 2016 20:23:45 +0000 (14:23 -0600)
* 8sync.scm: New file.
* Makefile.am: Add it.

8sync.scm [new file with mode: 0644]
Makefile.am

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)))
index 83ab6b002ca25f1de2c57ff3af2a5ab904698f69..19f8da75946df3b7d9dcdc967df5755488efd8e2 100644 (file)
@@ -45,6 +45,7 @@ moddir=$(prefix)/share/guile/site/2.0
 godir=$(libdir)/guile/2.0/ccache
 
 SOURCES =  \
 godir=$(libdir)/guile/2.0/ccache
 
 SOURCES =  \
+       8sync.scm \
        8sync/agenda.scm \
        8sync/repl.scm \
        8sync/systems/irc.scm \
        8sync/agenda.scm \
        8sync/repl.scm \
        8sync/systems/irc.scm \