[Haskell-cafe] Re: [Haskell] ANN: IOSpec 0.1

Wouter Swierstra wss at Cs.Nott.AC.UK
Wed Apr 25 06:05:05 EDT 2007


Hi Stefan,

> in the Teletype module, it would probably be better to reflect
> IOTeletype operations as:
>
> data Action a = Finish a | Put Char (Action a) | Get (Char ->  
> Action a)
>
> That way, there is no need to use (unobservable) laziness.

I'm afraid I've lost you. How does this differ from the current  
definition of IOTeletype?

Thanks,

   Wouter


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



More information about the Haskell-Cafe mailing list