Module

Data.Monoid.Dual

Package
purescript-prelude
Repository
purescript/purescript-prelude

#Dual Source

newtype Dual a

The dual of a monoid.

Dual x <> Dual y == Dual (y <> x)
(mempty :: Dual _) == Dual mempty

Constructors

Instances