> 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