[plt-scheme] to define, or to let

From: Joe Marshall (jrm at ccs.neu.edu)
Date: Tue Mar 23 11:03:08 EST 2004

Matthew Flatt <mflatt at cs.utah.edu> writes:

> At Tue, 23 Mar 2004 10:45:02 -0500, Joe Marshall wrote:
>> When MzScheme encounters an error, by default it prints an error
>> message and returns to the top level.  I don't care if it returns a
>> 42, a list of 23 elements, or no values whatsoever.
> I do.

Which do you prefer?  Why?

>> In unix, programs can (and often do) terminate with a bus-error or
>> segmentation fault.  Suppose I redefined the library to make it
>> impossible to end with a bus-error by protecting bus-mapped segments.
>> Now I only get segmentation faults.  I think everyone will agree that
>> this is change in the meaning (denotation) of an incorrect program.
>> Do you care which OS error terminates your program?
> Yes. This specific example is why Adam and I prefer to debug MzScheme3m
> in FreeBSD or Mac OS X, and not Linux.

What difference does it make?

Posted on the users mailing list.