Foldable<G, A> mixin

Superclass Constraints

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(bool predicate(A a)) bool
any(bool predicate(A a)) bool
append(A t) HKT<G, A>
Insert a new element A at the end.
concatenate(Monoid<A> monoid) → A
foldLeft<B>(B b, B f(B acc, A a)) → B
foldLeftWithIndex<B>(B b, B f(int i, B acc, A a)) → B
foldMap<B>(Monoid<B> monoid, B f(A a)) → B
Fold implemented by mapping A values into B and then combining them using the given Monoid<B> instance.
foldRight<B>(B b, B f(B acc, A a)) → B
foldRightWithIndex<B>(B b, B f(int i, B acc, A a)) → B
length() int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
plus(HKT<G, A> v) HKT<G, A>
prepend(A t) HKT<G, A>
Insert a new element A at the beginning.
toString() String
A string representation of this object.
inherited

Operators

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