[Openmcl-devel] Is there a way to suppress this warning?

Ron Garret ron at flownet.com
Thu Apr 30 13:45:38 PDT 2015

On Apr 30, 2015, at 1:42 PM, Stelian Ionescu <sionescu at cddr.org> wrote:

> On Thu, 2015-04-30 at 13:36 -0700, Ron Garret wrote:
>> Yes, but that’s not a good solution in my case.  The use case is that I want to write a macro called MOD-P that wraps a numerical calculation so that all of the computations in the lexical scope of the macro are performed modulo-P, in other words, the real expansion looks something like:
>> (flet ((+ (&rest args) (mod (apply ‘+ args) p))
>>       (- (&rest args) (mod (apply ‘- args) p))
>> But I also want calculations that are NOT wrapped in the MOD-P macro to continue to work normally.
> Code-walker.

The WHOLE POINT of FLET (and MACROLET) is so you don’t need a code walker to do this sort of thing.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20150430/c90f7ba7/attachment.bin>

More information about the Openmcl-devel mailing list