Functor<G, A> mixin
Functor<G, A> extends HKT<G, A>
to express the fact that the classes implementing
the Functor interface will need to be higher kinded types.
- Superclass constraints
- HKT<
G, A>
- HKT<
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
-
map<
B> (B f(A a)) → HKT< G, B> -
Return type is
HKT<G, B>
, which expresses the fact that what we return is using exactly the same type constructor represented by the brandG
-
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