From 1dec705a02f9c069797579d5f0cfda9180a8dd15 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Tue, 20 Dec 2016 14:23:45 -0600 Subject: [PATCH] Add toplevel 8sync.scm file. * 8sync.scm: New file. * Makefile.am: Add it. --- 8sync.scm | 28 ++++++++++++++++++++++++++++ Makefile.am | 1 + 2 files changed, 29 insertions(+) create mode 100644 8sync.scm diff --git a/8sync.scm b/8sync.scm new file mode 100644 index 0000000..9c074bd --- /dev/null +++ b/8sync.scm @@ -0,0 +1,28 @@ +;;; 8sync --- Asynchronous programming for Guile +;;; Copyright (C) 2016 Christopher Allan Webber +;;; +;;; 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 . + +(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))) diff --git a/Makefile.am b/Makefile.am index 83ab6b0..19f8da7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -45,6 +45,7 @@ moddir=$(prefix)/share/guile/site/2.0 godir=$(libdir)/guile/2.0/ccache SOURCES = \ + 8sync.scm \ 8sync/agenda.scm \ 8sync/repl.scm \ 8sync/systems/irc.scm \ -- 2.31.1