Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1 from marijnh/master
Browse files Browse the repository at this point in the history
Fix for Allegro CL
  • Loading branch information
adlai committed Jul 5, 2011
2 parents f11b6a8 + b0d60b0 commit e877db6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/utils.lisp
Expand Up @@ -5,6 +5,9 @@
(defun ensure-list (x)
(if (listp x) x (list x)))

;; Make sure these macros are available when compiling this file
(eval-when (:compile-toplevel :load-toplevel :execute)

(defmacro fun (&body body)
`(lambda (&optional _) (declare (ignorable _)) ,@body))

Expand Down Expand Up @@ -45,6 +48,8 @@
,@progn)
(acond2 ,@others)))))))

) ;; End of eval-when

(defun varsymp (x)
(and (symbolp x) (eql (char (symbol-name x) 0) #\?)))

Expand Down

0 comments on commit e877db6

Please sign in to comment.