python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
CompletableFuture is a Monad. But where is the Applicative?
Java's CompletableFuture is a Monad given its methods thenCompose and thenApply, which
correspond to >>= (bind) and fmap in Haskell.
It is a well known fact that any Monad gives rise to an Appli...
michid
Votes: 0
Answers: 1
What is the point of the Functor -> Applicative -> Monad hierarchy
What is the point of making Functor a super class of Applicative and Monad. Both Applicative and Monad immediately imply the only implementation of Functor that abides by the laws as far as I can tell...
HashBr0wn
Votes: 0
Answers: 2