bad examples

Stephen Weeks sweeks@intertrust.com
Tue, 18 Jul 2000 16:55:39 -0700 (PDT)


> The callcc.sml example in examples in the RPM's is broken in 2 ways:
> 
> It thinks that opening MLton will give it access to callcc and throw.
> In fact you would have to open MLton.Cont.
> 
> It uses the SML/NJ style curried throw
> 	'a cont -> 'a -> 'b
> instead of the better new MLton style
> 	'a cont * 'a -> 'b

Shoot.  I missed one.  I copy (almost) all those examples from the
regression directory, which is surely correct.  I just missed callcc.
It's fixed now.