summaryrefslogtreecommitdiff
path: root/module/srfi/srfi-6.scm
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2008-11-01 13:49:23 +0100
committerAndy Wingo <wingo@pobox.com>2008-11-01 13:49:23 +0100
commitea93465de79826ca8bbd3689bfbccca58e8d9353 (patch)
treee5710a7f0e547cb6daaa04f53ed881a03cc57979 /module/srfi/srfi-6.scm
parent3f0bce1e14a4da50ff401104896314c5122a9765 (diff)
downloadguile-ea93465de79826ca8bbd3689bfbccca58e8d9353.tar.gz
move scm srfi files to module/srfi, and compile them.
* .gitignore: Add gdb-pre-inst-guile. * configure.in: Add module/srfi/Makefile. * module/Makefile.am: Add srfi/. * module/srfi/: SRFI scheme files moved here, and compiled. * srfi/Makefile.am: Remove the bits about the scheme files.
Diffstat (limited to 'module/srfi/srfi-6.scm')
-rw-r--r--module/srfi/srfi-6.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/module/srfi/srfi-6.scm b/module/srfi/srfi-6.scm
new file mode 100644
index 000000000..1e455bb5c
--- /dev/null
+++ b/module/srfi/srfi-6.scm
@@ -0,0 +1,33 @@
+;;; srfi-6.scm --- Basic String Ports
+
+;; Copyright (C) 2001, 2002, 2003, 2006 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 2.1 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
+
+;;; Commentary:
+
+;; This module is fully documented in the Guile Reference Manual.
+
+;;; Code:
+
+(define-module (srfi srfi-6)
+ #:re-export (open-input-string open-output-string get-output-string))
+
+;; Currently, guile provides these functions by default, so no action
+;; is needed, and this file is just a placeholder.
+
+(cond-expand-provide (current-module) '(srfi-6))
+
+;;; srfi-6.scm ends here