projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
175ca3e
)
Add FUNCALL and APPLY as functions.
author
Olof-Joachim Frahm
<olof@macrolet.net>
Mon, 2 Sep 2013 13:41:32 +0000
(15:41 +0200)
committer
Olof-Joachim Frahm
<olof@macrolet.net>
Tue, 3 Sep 2013 07:42:37 +0000
(09:42 +0200)
src/boot.lisp
patch
|
blob
|
history
diff --git
a/src/boot.lisp
b/src/boot.lisp
index
821c482
..
736c07d
100644
(file)
--- a/
src/boot.lisp
+++ b/
src/boot.lisp
@@
-102,6
+102,12
@@
(defun not (x) (if x nil t))
+(defun funcall (function &rest args)
+ (apply function args))
+
+(defun apply (function arg &rest args)
+ (apply function (apply #'list* arg args)))
+
;; Basic macros
(defmacro dolist ((var list &optional result) &body body)