[gambit-list] Code elimination in (not safe) context

Dimitris Vyzovitis vyzo at hackzen.org
Tue Nov 26 13:39:25 EST 2019


Is there a mechanism by which we can declare code to be eliminated when
compiling with (declare (not safe))?
I haven't been able to find anything, and it would be very nice to have
something like (when-declare (safe) stuff ...),
which would be eliminated in unsafe compilation.
The context is that I want to add a contract system to Gerbil, but I don't
want the runtime checks to persist when
compiling with (not safe).

-- vyzo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20191126/1ac30e8a/attachment.htm>


More information about the Gambit-list mailing list