Hello,

the following works when interpreted, but gives an error when compiled
(CMUCL 19c from Debian/testing):

(defun test (string)
  (loop for pos below (length string) do
        (setq pos (position #\- string))
              (unless pos (return nil))))

(test "Hi")

Is this allowed or a bug?

Thanks, Nicolas.


  • Bug? Nicolas Neuss

Reply via email to