lean-mind / monads

A set of monads created with typescript using an OOP approach
MIT License
5 stars 2 forks source link

Create `Identity` monad #38

Open seymourpoler opened 2 weeks ago

seymourpoler commented 2 weeks ago

GIVEN a set of Monads WHEN a developer wants to manage and Id THEN Identity Monad

Breakdown:

source

Marius9595 commented 2 weeks ago

I add this conversation from StackOverflow: https://stackoverflow.com/questions/28645505/why-is-identity-monad-useful

I think it is interesting.