com.github.mperry.fg.typeclass.concrete
[Groovy] Class SetMonad
java.lang.Object
com.github.mperry.fg.typeclass.Applicative
com.github.mperry.fg.typeclass.Monad
com.github.mperry.fg.typeclass.concrete.SetMonad
class SetMonad
extends Monad
Created by MarkPerry on 10/04/2014.
|
Method Summary |
static java.util.Set
|
defaultSet()
|
java.util.Set
|
flatMap(java.util.Set ma, F f)
|
java.util.Set
|
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 |
defaultSet
static java.util.Set defaultSet()
-
flatMap
@java.lang.Override
java.util.Set flatMap(java.util.Set ma, F f)
-
unit
@java.lang.Override
java.util.Set unit(B b)
-
Groovy Documentation