[MLton-devel] Strange behaviour with exceptions
Joe Hurd
joe.hurd@comlab.ox.ac.uk
Sat, 18 Oct 2003 19:26:45 +0100 (BST)
On Sat, 18 Oct 2003, Stephen Weeks wrote:
> Because Interrupt is bound by the pattern, and is hence a valid
> variable on the right hand side of the rule.
Oops, that was just me being stupid.
> If you want the MLton toplevel to look more like Moscow ML, you can
> prefix your program with
>
> exception Interrupt = SML90.Interrupt
Aha! I tried this
val Interrupt = SML90.Interrupt
but it didn't work.
Thanks,
Joe
-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise
Linux in the Boardroom; in the Front Office; & in the Server Room
http://www.enterpriselinuxforum.com
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel