Org.Compare
Description
This module implements comparasion of Org contents, using multiwalk. You should use this instead of the default Ord instances when you want to compare Org content semantically.
compareContent :: MultiWalk MWTag a => a -> a -> Ordering Source #
compareContents :: MultiWalk MWTag a => [a] -> [a] -> Ordering Source #
toAtoms :: MultiWalk MWTag a => a -> [Atom] Source #
data Atom Source #
Defined in Org.Compare
Methods
(==) :: Atom -> Atom -> Bool Source #
(/=) :: Atom -> Atom -> Bool Source #
compare :: Atom -> Atom -> Ordering Source #
(<) :: Atom -> Atom -> Bool Source #
(<=) :: Atom -> Atom -> Bool Source #
(>) :: Atom -> Atom -> Bool Source #
(>=) :: Atom -> Atom -> Bool Source #
max :: Atom -> Atom -> Atom Source #
min :: Atom -> Atom -> Atom Source #