[Haskell-cafe] \_ -> not equivalent to const $
Felipe Lessa
felipe.lessa at gmail.com
Thu Jan 10 18:28:00 EST 2008
On Jan 10, 2008 9:20 PM, Luke Palmer <lrpalmer at gmail.com> wrote:
> Ahh, it was ghc 6.8.1, without any optimization. If I turn on optimization,
> the behavior goes away, and they both behave like the const version.
That was what I suggested on the last line of my previous e-mail. As
const is in Prelude, which probably was compiled with optimizations,
it would explain the difference.
--
Felipe.
More information about the Haskell-Cafe
mailing list