store macro definitions in the function slot
[bpt/guile.git] / module / language / elisp / runtime / function-slot.scm
1 ;;; Guile Emacs Lisp
2
3 ;;; Copyright (C) 2009, 2010 Free Software Foundation, Inc.
4 ;;;
5 ;;; This library is free software; you can redistribute it and/or
6 ;;; modify it under the terms of the GNU Lesser General Public
7 ;;; License as published by the Free Software Foundation; either
8 ;;; version 3 of the License, or (at your option) any later version.
9 ;;;
10 ;;; This library is distributed in the hope that it will be useful,
11 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 ;;; Lesser General Public License for more details.
14 ;;;
15 ;;; You should have received a copy of the GNU Lesser General Public
16 ;;; License along with this library; if not, write to the Free Software
17 ;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
19 (define-module (language elisp runtime function-slot)
20 #:use-module (language elisp runtime subrs)
21 #:use-module (language elisp runtime macros)
22 #:duplicates (last)
23 ;; functions
24 #:re-export (eq
25 equal
26 floatp
27 integerp
28 numberp
29 wholenump
30 zerop
31 =
32 /=
33 <
34 <=
35 >
36 >=
37 max
38 min
39 abs
40 float
41 1+
42 1-
43 +
44 -
45 *
46 %
47 ffloor
48 fceiling
49 ftruncate
50 fround
51 consp
52 atomp
53 listp
54 nlistp
55 null
56 car
57 cdr
58 car-safe
59 cdr-safe
60 nth
61 nthcdr
62 length
63 cons
64 list
65 make-list
66 append
67 reverse
68 copy-tree
69 number-sequence
70 setcar
71 setcdr
72 symbol-value
73 symbol-function
74 set
75 fset
76 makunbound
77 fmakunbound
78 boundp
79 fboundp
80 apply
81 funcall
82 throw
83 not
84 eval)
85 ;; macros
86 #:re-export (prog1
87 prog2
88 when
89 unless
90 cond
91 and
92 or
93 dotimes
94 dolist
95 catch
96 unwind-protect
97 pop
98 push))