chiark
/
gitweb
/
~mdw
/
lisp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
base: compile-time-defun should define in the interpreter.
[lisp]
/
mdw-base.lisp
diff --git
a/mdw-base.lisp
b/mdw-base.lisp
index c4c3e1748224af8bb00c0c73d3aa98363880ca71..73f85e73d95f0bfd84f9371d6d2c0783ab72c888 100644
(file)
--- a/
mdw-base.lisp
+++ b/
mdw-base.lisp
@@
-57,7
+57,7
@@
(deftype unsigned-fixnum ()
(defmacro compile-time-defun (name args &body body)
"Define a function which can be used by macros during the compilation
process."
(defmacro compile-time-defun (name args &body body)
"Define a function which can be used by macros during the compilation
process."
- `(eval-when (:compile-toplevel :load-toplevel)
+ `(eval-when (:compile-toplevel :load-toplevel
:execute
)
(defun ,name ,args ,@body)))
(defmacro show (x)
(defun ,name ,args ,@body)))
(defmacro show (x)
@@
-119,7
+119,9
@@
(compile-time-defun pairify (x &optional (y nil defaultp))
(defun whitespace-char-p (ch)
"Return whether CH is a whitespace character or not."
(case ch
(defun whitespace-char-p (ch)
"Return whether CH is a whitespace character or not."
(case ch
- ((#\space #\tab #\newline #\return #\vt #\formfeed) t)
+ ((#\space #\tab #\newline #\return #\vt
+ #+cmu #\formfeed
+ #+clisp #\page) t)
(t nil)))
(declaim (ftype (function nil ()) slot-unitialized))
(t nil)))
(declaim (ftype (function nil ()) slot-unitialized))