precis-0.3.1: Diff Cabal packages.

Portabilityto be determined.
Stabilityhighly unstable
MaintainerStephen Tetley <stephen.tetley@gmail.com>

Precis.Properties

Contents

Description

 

Synopsis

Property type

data Property n Source

Instances

Eq n => Eq (Property n) 
Ord n => Ord (Property n) 
Show n => Show (Property n) 

Edit type

data Edit a Source

Constructors

Added a 
Conflict a a 
Same a 
Removed a 

Instances

Eq a => Eq (Edit a) 
Show a => Show (Edit a) 

Edit operations

difference :: (a -> a -> Bool) -> (a -> a -> Bool) -> [a] -> [a] -> [Edit a]Source

diffProperty :: (n -> n -> b) -> Property n -> Property n -> bSource

addedRemoved :: [Edit a] -> ([a], [a])Source