Thomas Davie wrote:
Because we consider that the Functor laws must hold for all values in the type 
(including bottom).

This is not so for IO, which is an instance of Functor. "fmap id undefined" is not bottom.

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

Reply via email to