[Haskell-cafe] Re: mapM as a Space Leak
Chung-chieh Shan
ccshan at post.harvard.edu
Thu Mar 26 20:21:44 EDT 2009
Thomas Hartman <tphyahoo at gmail.com> wrote in article <910ddf450903261240p4e4fc8b3pa927fac1b80b2a22 at mail.gmail.com> in gmane.comp.lang.haskell.cafe:
> Well, that's reassuring.
>
> The reason I asked is that the testp function didn't just show poor
> performance. The state monad implementation actually gave a different
> answer -- nonterminating, where the pattern matching solution
> terminated.
Indeed, DIFFERENT Haskell programs can give different answers, even on
the SAME Haskell implementation. That should not be surprising at all.
--
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
100 Days to close Guantanamo and end torture http://100dayscampaign.org/
http://www.avaaz.org/en/end_the_war_on_terror/
More information about the Haskell-Cafe
mailing list