1.

What Is Monad In Scala?

Answer»

A MONAD is an object that WRAPS another object. You pass the Monad mini-programs, i.e functions, to perform the data MANIPULATION of the underlying object, INSTEAD of manipulating the object DIRECTLY. Monad chooses how to apply the program to the underlying object.

A monad is an object that wraps another object. You pass the Monad mini-programs, i.e functions, to perform the data manipulation of the underlying object, instead of manipulating the object directly. Monad chooses how to apply the program to the underlying object.



Discussion

No Comment Found