Hi,
I was going through http://en.wikipedia.org/wiki/Monad_(category_theory) -
under Formal Definition I notice that monad is a Functor T:C -> C

My question is - when we think of Maybe as a functor T:C -> C .... should we
think that C here refers to Hakell types? As in,
(Int and Maybe Int are objects in C) and (Int -> Int and Maybe Int -> Maybe
Int are arrows in C) and T is an arrow between them. Is that right? For some
reason, I was
imagining them as two different categories C and D.

I am not able to fully understand how those diagrams translate to haskell -
I can guess that T^2 -> T referes to things like concat operation but not
able to relate it to bind.

Regards,
Kashyap
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to