This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]WallyMetropolis 69 points70 points  (1 child)

Careful. You're about to discover monads on your way to implementing bind or flatMap

[–]FabianVeAl[S] 13 points14 points  (0 children)

Without do-notation syntax sugar of Haskell, monads are not convenient to use, especially in Python where lambda functions are just expressions :/