Hello alaiyeshi,

Friday, November 3, 2006, 4:23:40 PM, you wrote:

> But I guess in this problem the first input line and the other are
> different in their meaning. Thus if I use interact I should "parse" the 
> input(again), I guess.

it seems that you don't understand that functional programming has
just the same power as imperative one:

process (header:rest) = process2 header rest



-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to