G
in a Choice7
.G
in a Choice8
.State
that simply returns back the initial state as both the result and the final stateState
that maps its initial state into its result, but leaves the initial state unchanged.monadic effect
from a state, produce a
StateT
that simply passes its state to the function and applies it.Iterable<V>
vs
and a key function V -> K
f
,
fold vs
into a Map<K, List<V>>
by applying f
to each element of
vs
, retaining values that map to the same key in a list, in the order they were iterated in.Comparable
values of type A
, return true
if the second value is strictly
greater than the first value; otherwise, return false.A
to some Comparable
type B
and two values
of type A
, return true
if the second value is strictly greater than the first value in
terms of their mapped B
results; otherwise, return false.Comparable
values of type A
, return true
if the second value is greater
than or equal to the first value according to Comparable.compareTo(Object)
; otherwise, return false.A
to some Comparable
type B
and two values
of type A
, return true
if the second value is greater than or equal to the first value in
terms of their mapped B
results according to Comparable.compareTo(Object)
; otherwise, return
false.