On Wed, Feb 27, 2008 at 10:35 PM, Graham Fawcett <[EMAIL PROTECTED]> wrote: > > (void) returns the unspecified value, in Chicken, #<unspecified> -- as > does (values). But the unspecified value is a value, and can be tested > for identity with eq?.
Bu it is unspecified! How can you compare the identity of something that has none? "void" means: the return value is not specific and may even be different over multiple invocations. It gives the compiler the opportunity to not worry about returning some particular value, since it indicates that a computation was performed solely for it's side effects. In short: don't rely on the result of "void". It's reason of existence is to have something to return as a result that should not be relied on. cheers, felix _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users