Foldable<F> class abstract

Implementers

Constructors

Foldable()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

all(F fa, bool f(dynamic a)) bool
any(F fa, bool f(dynamic a)) bool
concatenate<A>(Monoid<A> mi, F fa) → A
concatenateO<A>(Semigroup<A> si, F fa) Option<A>
foldLeft<A, B>(F fa, B z, B f(B previous, A a)) → B
foldLeftWithIndex<A, B>(F fa, B z, B f(B previous, int i, A a)) → B
foldMap<A, B>(Monoid<B> bMonoid, F fa, B f(A a)) → B
foldMapO<A, B>(Semigroup<B> si, F fa, B f(A a)) Option<B>
foldRight<A, B>(F fa, B z, B f(A a, B previous)) → B
foldRightWithIndex<A, B>(F fa, B z, B f(int i, dynamic a, B previous)) → B
intercalate<A>(Monoid<A> mi, F fa, A a) → A
length(F fa) int
maximum<A>(Order<A> oa, F fa) Option<A>
minimum<A>(Order<A> oa, F fa) Option<A>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited