2009/5/6 Ramana Kumar <[email protected]>:
> is there a good argument for set! to return unspecified?

Because Scheme is not C. Or C++ for that matter.

In more obfuscated terms: Mixing the state monad with referentially
transparent expressions is generally a bad idea. Scheme believes
programmers are well-intentioned and allows stateful code to freely
intermingle with  pure expressions, but it doesn't encourage such
behavior.

although, FWIW, I agree that it would be handy on occasion if SET! had
those semantics.

david
-- 
GPG Public key at http://cyber-rush.org/drr/gpg-public-key.txt

_______________________________________________
Larceny-users mailing list
[email protected]
https://lists.ccs.neu.edu/bin/listinfo/larceny-users

Reply via email to