Re: [Haskell-cafe] Questions about the Functor class and it's use in "Data types à la carte"

Yitzchak Gale gale at sefer.org
Sun Dec 16 08:24:51 EST 2007


I wrote:
>> (.!) f g x = f `seq` g `seq` f (g x)

Roberto Zunino wrote:
>    id .! undefined
> == \x -> undefined
> /= undefined
>
> Probably you meant
>
>    (.!) f g = f `seq` g `seq` (f . g)

Yes, thank you.

-Yitz


More information about the Haskell-Cafe mailing list