Returns f applied to the contents of as if non-empty, otherwise, the zero element of the Monoid for the type B.
Returns f applied to the contents of as if non-empty, otherwise, the zero element of the Monoid for the type B.
[(as(0), as(1)), (as(1), as(2)), ... (as(size-2), as(size-1))]
[(as(0), as(1)), (as(1), as(2)), ... (as(size-2), as(size-1))]
Combinations of as and as, excluding same-element pairs.
Combinations of as and as, excluding same-element pairs.
spanM with p's complement.
spanM with p's complement.
Catamorphism over the option.
Catamorphism over the option. Returns the provided function some applied to item contained in the Option
if it is defined, otherwise, the provided value none.
Constructs a non-empty list with the given string if it is not empty, otherwise, returns the second argument.
Constructs a non-empty list with the given string if it is not empty, otherwise, returns the second argument.
Constructs a non-empty list with the value if it is not empty, otherwise, throws an error.
Constructs a non-empty list with the value if it is not empty, otherwise, throws an error.
Encode s according to a Java character set identifier.
Encode s according to a Java character set identifier.
Run p(a)s left-to-right until it yields a true value,
answering Some(that), or None if nothing matched p.
Run p(a)s left-to-right until it yields a true value,
answering Some(that), or None if nothing matched p.
Alias for cata
Alias for cata
Returns the given value if None, otherwise lifts the Some value and passes it to the given function.
Returns the given value if None, otherwise lifts the Some value and passes it to the given function.
Returns the given value if None, otherwise lifts the Some value to Option and passes it to the given function.
Returns the given value if None, otherwise lifts the Some value to Option and passes it to the given function.
Split at each point where p(as(n), as(n+1)) yields false.
Split at each point where p(as(n), as(n+1)) yields false.
groupByM specialized to scalaz.Id.Id.
groupByM specialized to scalaz.Id.Id.
[as take 1, as take 2, ..., as]
[as take 1, as take 2, ..., as]
[Nil, as take 1, as take 2, ..., as]
[Nil, as take 1, as take 2, ..., as]
Intersperse the element a between each adjacent pair of elements in as
Intersperse the element a between each adjacent pair of elements in as
Intersperse the element a between each adjacent pair of elements in as
Intersperse the element a between each adjacent pair of elements in as
All of the Bs, in order, and the final C acquired by a
stateful left fold over as.
All of the Bs, in order, and the final C acquired by a
stateful left fold over as.
All of the Bs, in order as-wise, and the final C acquired
by a stateful right fold over as.
All of the Bs, in order as-wise, and the final C acquired
by a stateful right fold over as.
scala.None with a sometimes more convenient type.
scala.None with a sometimes more convenient type.
Returns the item contained in the Option wrapped in type M if the Option is defined, otherwise, the empty value for type M.
Returns the item contained in the Option wrapped in type M if the Option is defined, otherwise, the empty value for type M.
A pair of passing and failing values of as against p.
A pair of passing and failing values of as against p.
Returns the same String value if the given value is 1 otherwise pluralises this String by appending an "s" unless this String ends with "y" and not one of ["ay", "ey", "iy", "oy", "uy"] in which case the 'y' character is chopped and "ies" is appended.
Returns the same String value if the given value is 1 otherwise pluralises this String by appending an "s" unless this String ends with "y" and not one of ["ay", "ey", "iy", "oy", "uy"] in which case the 'y' character is chopped and "ies" is appended.
scala.Some.apply with a sometimes more convenient type.
scala.Some.apply with a sometimes more convenient type.
A pair of the longest prefix of passing as against p, and
the remainder.
A pair of the longest prefix of passing as against p, and
the remainder.
[as, as.tail, as.tail.tail, ..., Stream(as.last)]
[as, as.tail, as.tail.tail, ..., Stream(as.last)]
[as, as.tail, as.tail.tail, ..., Nil]
[as, as.tail, as.tail.tail, ..., Nil]
Run p(a)s and collect as while p yields false.
Run p(a)s and collect as while p yields false. Don't run
any ps after the first true.
Run p(a)s and collect as while p yields true.
Run p(a)s and collect as while p yields true. Don't run
any ps after the first false.