Open puffnfresh opened 10 years ago
I can't figure out where this should go, since Ordering is defined in Classes.idr but Monoid is in Algebra.idr:
Ordering
Monoid
instance Semigroup Ordering where (<+>) EQ b = b (<+>) a _ = a instance Monoid Ordering where neutral = EQ
Old issues are old...it might be best to place this in a module Ordering.Monoid in base that is sufficiently isolated from Classes and Algebra. Thus to use it, one has to import Ordering.Monod.
Ordering.Monoid
Ordering.Monod
I can't figure out where this should go, since
Ordering
is defined in Classes.idr butMonoid
is in Algebra.idr: