purify elisp symbol cell modules
[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 #:select (apply))
22 #:use-module ((language elisp compile-tree-il)
23 #:select
24 ((compile-progn . progn)
25 (compile-eval-when-compile . eval-when-compile)
26 (compile-if . if)
27 (compile-defconst . defconst)
28 (compile-defvar . defvar)
29 (compile-setq . setq)
30 (compile-let . let)
31 (compile-lexical-let . lexical-let)
32 (compile-flet . flet)
33 (compile-let* . let*)
34 (compile-lexical-let* . lexical-let*)
35 (compile-guile-ref . guile-ref)
36 (compile-guile-primitive . guile-primitive)
37 (compile-while . while)
38 (compile-function . function)
39 (compile-defun . defun)
40 (compile-defmacro . defmacro)
41 (#{compile-`}# . #{`}#)
42 (compile-quote . quote)
43 (compile-%set-lexical-binding-mode
44 . %set-lexical-binding-mode)))
45 #:duplicates (last)
46 ;; special operators
47 #:re-export (progn
48 eval-when-compile
49 if
50 defconst
51 defvar
52 setq
53 let
54 lexical-let
55 flet
56 let*
57 lexical-let*
58 guile-ref
59 guile-primitive
60 while
61 function
62 defun
63 defmacro
64 #{`}#
65 quote
66 %set-lexical-binding-mode)
67 ;; functions
68 #:re-export (apply)
69 #:pure)