com.github.mperry.fg.typeclass.concrete
[Groovy] Class ListMonad
java.lang.Object
com.github.mperry.fg.typeclass.Applicative
com.github.mperry.fg.typeclass.Monad
com.github.mperry.fg.typeclass.concrete.ListMonad
class ListMonad
extends Monad
Created by MarkPerry on 10/04/2014.
|
Method Summary |
java.util.List
|
flatMap(java.util.List ma, F f)
|
java.util.List
|
unit(B b)
|
|
Methods inherited from class Monad
|
| ap, apply, compose, filterM, flatMap, fmap, foldM, foldM, foldM_, foldM_, join, liftM, liftM2, liftM3, map, map2, pure, replicateM, sequence, skip, to, traverse, unit, unit, unless, when |
flatMap
@java.lang.Override
java.util.List flatMap(java.util.List ma, F f)
-
unit
@java.lang.Override
java.util.List unit(B b)
-
Groovy Documentation