[Haskell-cafe] \_ -> not equivalent to const $

Victor Nazarov asviraspossible at gmail.com
Thu Jan 10 18:15:49 EST 2008


On Jan 11, 2008 2:11 AM, Felipe Lessa <felipe.lessa at gmail.com> wrote:
> On Jan 10, 2008 8:54 PM, Luke Palmer <lrpalmer at gmail.com> wrote:
> > Can someone explain what the heck is going on here?
>
> AFAICT, nothing is wrong. You see, both returned the very same values.
[snip]
> But referential transparency wasn't broken at all =).
>
Referential transparency wasn't broken, but I wonder what was the
compiler, and what were it's options.

-- 
vir
http://vir.comtv.ru/


More information about the Haskell-Cafe mailing list