?iga Lenar?i? <ziga.lenarcic at gmail.com> wrote:
Recommended change to sloop.lisp in src, instead
(defmacro sloop (&rest body)
`(progn (warn "Using deprecated macro 'sloop'. Use 'loop' instead.")
(loop , at body)))
This warns every time the code is executed (at run time) which would
certainly be annoying and was not what I suggested. Use this instead:
(defmacro sloop (&rest body)
(warn "Using deprecated macro 'sloop'. Use 'loop' instead.")
`(loop , at body))
which warns politely once when the code is compiled, but is silent when
the code is executed.
Testsuite ran without errors on SBCL 1.0.30 on mac os x.
Unless there remain calls to sloop (even indirectly) in the test suite,
there would be no warnings.