fosskers's Blog

fosskers's Avatar Image
Haskell -> Rust -> Lisps
← All posts

Why is this #commonlisp macro not becoming visible to the REPL?

(defmacro all (pred)
  "Deprecated: Use `allp'."
  (warn "`all' is deprecated; use `allp' instead.")
  `(allp ,pred))

I export it with:

(:export #:allp #:all)

but upon REPL restarts, little test calls like:

(transduce #'pass (all #'oddp) '(1 3 5 7 9))

explode, telling me that the “function all is not defined”.

To like or reply, open original post on Emacs.ch