On Tue, Sep 15, 2009 at 10:08 PM, Cristiano Paris <fr...@theshire.org> wrote:
> ...
> So, it seems that "seq b" is completely ineffective and program is not 
> correct.

Correction: removing "seq b" results in nothing being displayed :)

So, it's not "completely" effective. I suspect this is related to the
fact that a String in Haskell is just a list of Char so we should use
seq on every element of b. Let me try...

Cristiano
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to