[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] Formal Comment: (exit #t) should be the same as (exit)
Stefan Edwards scripsit:
> "For any value that does not map to an operating system acceptable
> exit value, and is not a boolean, it is the recommendation of this
> report to treat it as a true conditional, for purposes of creating an
> exit value."
But that would be almost the reverse of the programmer's likely intent.
Whether it's (exit "bad arguments") on Windows or (exit 1) on Plan 9,
the intention of a random argument is almost certainly failure rather
than success, because as I said there is only one kind of success and
many kinds of failure. So if anything uninterpretable arguments should
be mapped to #f.
--
One Word to write them all, John Cowan <cowan@x>
One Access to find them, http://www.ccil.org/~cowan
One Excel to count them all,
And thus to Windows bind them. --Mike Champion
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports