Thanks for the article, wanted to start with FP in Android as well so this is pretty interesting.
Alberto Ballano
1

They are related but not the same. In fact, one of the uses of monads is to allow you to do impure operations(like writing to a file) in a pure functional language like Haskell(accomplished via the IO monad). A full discussion on monads is outside the scope of this series since it requires knowledge of category theory but I will try to show how we can use some monads in Android code later.

Like what you read? Give Anup Cowkur a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.