Module

Data.Ord.Down

#Down

newtype Down a

A newtype wrapper which provides a reversed Ord instance. For example:

sortBy (comparing Down) [1,2,3] = [3,2,1]

Constructors

Instances

Modules