diff --git a/module/Makefile.am b/module/Makefile.am index 957ac60bd..69c8a4af4 100644 --- a/module/Makefile.am +++ b/module/Makefile.am @@ -264,6 +264,7 @@ RNRS_SOURCES = \ rnrs/6/hashtables.scm \ rnrs/6/lists.scm \ rnrs/6/programs.scm \ + rnrs/6/r5rs.scm \ rnrs/6/sorting.scm \ rnrs/6/syntax-case.scm \ rnrs/6/unicode.scm \ diff --git a/module/rnrs/6/r5rs.scm b/module/rnrs/6/r5rs.scm new file mode 100644 index 000000000..fefda0520 --- /dev/null +++ b/module/rnrs/6/r5rs.scm @@ -0,0 +1,34 @@ +;;; r5rs.scm --- The R6RS / R5RS compatibility library + +;; Copyright (C) 2010 Free Software Foundation, Inc. +;; +;; This library 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. +;; +;; This library 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 this library; if not, write to the Free Software +;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + +(library (rnrs r5rs (6)) + (export exact->inexact inexact->exact + + quotient remainder modulo + + delay force + + null-environment scheme-report-environment) + (import (only (guile) exact->inexact inexact->exact + + quotient remainder modulo + + delay force + + null-environment scheme-report-environment)))