[Haskell-cafe] Article review: Category Theory

David House dmhouse at gmail.com
Thu Jan 18 11:45:58 EST 2007


On 18/01/07, Joachim Breitner <mail at joachim-breitner.de> wrote:
> (.) :: (b -> c) -> (a -> b) -> a -> c
> id :: a -> a
> therefore b = a
> therefore _|_ :: a -> c
>
> (This is mostly rough guesswork, I might be totally wrong)

That much is right, but remember that just because _|_ has type a -> c
doesn't mean it takes a parameter. Bottom can take any type, and I
don't think _|_ == \x -> _|_.

-- 
-David House, dmhouse at gmail.com


More information about the Haskell-Cafe mailing list