Module

Data.Diff

Package
purescript-diff
Repository
athanclark/purescript-diff

#eqToDiffC Source

eqToDiffC :: forall a. Eq a => a -> a -> Maybe (These a a)

#Diff Source

class Diff a aux | a -> aux where

aux represents "has more than the other of..."

Members

Instances

#Truthiness Source

newtype Truthiness

Constructors

Instances

#Falseness Source

newtype Falseness

Constructors

Instances

#Positive Source

newtype Positive a

WRT Ord

Constructors

Instances

#Negative Source

#diffToDiffC Source

diffToDiffC :: forall aux a. Diff a aux => a -> a -> Maybe (These aux aux)

#DiffC Source

class DiffC a aux | a -> aux where

Diffable collections

Members

Instances

#Prefix Source

newtype Prefix f a

Constructors

Instances

#Suffix Source

newtype Suffix f a

Constructors

Instances

#differenceMap Source

differenceMap :: forall a k. Ord k => Map k a -> Map k a -> Map k a

#differenceStrMap Source

differenceStrMap :: forall a. StrMap a -> StrMap a -> StrMap a

#differenceSet Source

differenceSet :: forall a. Ord a => Set a -> Set a -> Set a
Modules
Data.Diff