Imperative Notation
Zuurbier, E. - AMSXE
Erik.Zuurbier@KLM.NL
Tue, 16 Feb 1999 11:41:16 +0100
> file_func1 = do with (openFile "T.icl" FReadText)
> cs1 = readline
> cs2 = readline
> return (cs1, cs2)
>
> Would we be able to do the following?:
>
> return (readline, readline). Heh. I don't think so.
>
The fact that you even dare to raise the question to me indicates
that you are confusing do-notation with ordinary Clean code,
and that is for the simple case. It is not for nothing that Haskell
uses <- instead of =.
Erik Zuurbier