DEV Community

Discussion on: A Good Video for Haskell Monad

 
chenge profile image
chenge • Edited

Monad means impure. It is used to hint this is impure to divide pure and impure. Is this right? Thanks for your great explain.

Thread Thread
 
zeljkobekcic profile image
TheRealZeljko

I think monad means something different in the cathegory theory (where they originate from) but we do not need to bother with that. In monads you can divide the impure part of your programs from your pure part (in a pure way). So yes, your statement is correct. Glad I could help you out :)

Thread Thread
 
jvanbruegge profile image
Jan van Brügge

Monad means neither pure nor impure. The Monad is the essence of the idea of sequencing computations. This can be used for side effects, but that is completely orthogonal