News for hackers. Stuff that matters.
Re:Category theory for beginners by jberryman on Tuesday February 24, 2015 @02:58PM (#9103096)
And Hask is arguably not a proper category
Re:Category theory for beginners by bstamour on Tuesday February 24, 2015 @05:06PM (#9103863)
Can you expand on this? I'm genuinely curious.
Re:Category theory for beginners by T-R on Wednesday February 25, 2015 @12:01AM (#9105380)
My understanding is that it's not a proper category due to the presence of Bottom - https://wiki.haskell.org/Bottom

> Bottom is a member of any type, even the trivial type () [...] If it were not, the compiler could solve the halting problem and statically determine whether any computation terminated

You can imagine function composition and identity don't work too well on things that never complete.

Re:Category theory for beginners by bstamour on Wednesday February 25, 2015 @09:04AM (#9106753)
Ah yes, you're right. I always forget about bottom.