summaryrefslogtreecommitdiff
path: root/libguile/evalext.h
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>1998-10-31 13:31:25 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>1998-10-31 13:31:25 +0000
commit40cf7e92b2dd9205d5987968d9888c4a4118b5ab (patch)
tree97694f7c88a83b2af63d4983b18cae5c20fc9c7b /libguile/evalext.h
parentd41b3904a1147dfa6b0c4eb99cd83f29710a38e9 (diff)
downloadguile-40cf7e92b2dd9205d5987968d9888c4a4118b5ab.tar.gz
* evalext.c, evalext.h: New files. Contain non-R5RS things
having to do with evaluation. * evalext.c (serial-map): New procedure: Version of `map' which guarantees that the procedure is applied to the lists in serial order. (sequence->list): New syntax: Version of `begin' which returns a list of the results of the body forms instead of the result of the last body form. (scm_definedp, scm_m_undefine): Moved from eval.c * evalext.h (scm_m_sequence_to_list): Added declaration. * Makefile.am: Added evalext.c, evalext.h, macros.c, macros.h.
Diffstat (limited to 'libguile/evalext.h')
-rw-r--r--libguile/evalext.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/libguile/evalext.h b/libguile/evalext.h
new file mode 100644
index 000000000..f58a96ea2
--- /dev/null
+++ b/libguile/evalext.h
@@ -0,0 +1,56 @@
+/* classes: h_files */
+
+#ifndef EVALEXTH
+#define EVALEXTH
+/* Copyright (C) 1998 Free Software Foundation, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this software; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307 USA
+ *
+ * As a special exception, the Free Software Foundation gives permission
+ * for additional uses of the text contained in its release of GUILE.
+ *
+ * The exception is that, if you link the GUILE library with other files
+ * to produce an executable, this does not by itself cause the
+ * resulting executable to be covered by the GNU General Public License.
+ * Your use of that executable is in no way restricted on account of
+ * linking the GUILE library code into it.
+ *
+ * This exception does not however invalidate any other reasons why
+ * the executable file might be covered by the GNU General Public License.
+ *
+ * This exception applies only to the code released by the
+ * Free Software Foundation under the name GUILE. If you copy
+ * code from other Free Software Foundation releases into a copy of
+ * GUILE, as the General Public License permits, the exception does
+ * not apply to the code that you add in this way. To avoid misleading
+ * anyone as to the status of such modified files, you must delete
+ * this exception notice from them.
+ *
+ * If you write modifications of your own for GUILE, it is your choice
+ * whether to permit this exception to apply to your modifications.
+ * If you do not wish that, delete this exception notice. */
+
+
+#include "libguile/__scm.h"
+
+
+
+extern SCM scm_definedp SCM_P ((SCM sym));
+extern SCM scm_m_undefine SCM_P ((SCM x, SCM env));
+extern SCM scm_m_sequence_to_list SCM_P ((SCM x, SCM env));
+extern void scm_init_evalext SCM_P ((void));
+
+#endif /* EVALEXTH */