[Haskell-cafe] A small display problem using Helium

Anonymous Anonymous temp.public at gmail.com
Mon Mar 23 13:04:52 EDT 2009


I've written something simple:

main                    :: IO ()
main                    =  do lijn <- getLine
                              putStrLn lijn

Now if I import it in Helium it will do the following:

Test> main
test -- (here I'm typing test)

it will be displayed two times, why? Because it displays my input and the
output of the function. Now I want to write a function that does NOT display
my input, any suggestions how I can achieve this?

Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090323/279252d0/attachment.htm

More information about the Haskell-Cafe mailing list