
16 Jan
2007
16 Jan
'07
9:41 a.m.
Hello Magnus, Tuesday, January 16, 2007, 2:34:51 PM, you wrote:
I can take getChar and create an infinate list:
listChars = getChar : listChars
but how do I go about creating a finite list, e.g. a list that ends as soon as 'q' is pressed?
you definitely should look into http://haskell.org/haskellwiki/IO_inside -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com