1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 21:40:33 +02:00

Implementation for the R6RS (rnrs r5rs) library.

* module/Makefile.am: Add rnrs/6/r5rs.scm to RNRS_SOURCES.
* module/rnrs/6/r5rs.scm: New file.
This commit is contained in:
Julian Graham 2010-03-27 11:39:28 -04:00
parent d1c83d388a
commit 3d5bc1ad6f
2 changed files with 35 additions and 0 deletions

View file

@ -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 \

34
module/rnrs/6/r5rs.scm Normal file
View file

@ -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)))