[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no constants please

This page is part of the web mail archives of SRFI 50 from before July 7th, 2015. The new archives for SRFI 50 contain all messages, not just those from before July 7th, 2015.

Tom Lord <lord@xxxxxxx> writes:

> Not
> but:
> 	SCHEME_MAKE_FALSE (&x, instance);
> because, you never know, those constants might be heap allocated.

And don't forget SCHEME_IS_FALSE(x).

Because you should not assume that C equality is the right test.