Monoid<A> class

Monoid structure for Ord instances.

Implemented types

Constructors

Monoid()

Properties

empty Ord<A>
Returns a default Ord instance that considers all values as equal.
read-onlyoverride
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

concat(Ord<A> first, Ord<A> second) Ord<A>
Combines two Ord instances into a new one.
override
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