[Haskell-cafe]Prime Generator time limit exceeded
Bulat Ziganshin
bulat.ziganshin at gmail.com
Fri Nov 3 11:50:55 EST 2006
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:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe
mailing list