> fb =
>     do {
>         putStr "Enter Data: ";
>         line <- getLine;
>         let line2 = line;
>         putStr line2;
>        }

I suggest doing this:

> fb =
>     do { putStr "Enter Data: "
>        ; line <- getLine
>        ; let line2 = line
>        ; putStr line2
>        }

which looks nicer and has the advantage of being much easier to keep
track of where the semicolons are.

  -Paul

_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to