ersatz-0.4.2: A monad for expressing SAT or QSAT problems using observable sharing.

Copyright© Edward Kmett 2010-2014 Johan Kiviniemi 2013
LicenseBSD3
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe
LanguageHaskell2010

Ersatz.Equatable

Description

 

Synopsis

Documentation

class Equatable t where Source #

Instances for this class for arbitrary types can be automatically derived from Generic.

Methods

(===) :: t -> t -> Bit infix 4 Source #

Compare for equality within the SAT problem.

(===) :: (Generic t, GEquatable (Rep t)) => t -> t -> Bit infix 4 Source #

Compare for equality within the SAT problem.

(/==) :: t -> t -> Bit infix 4 Source #

Compare for inequality within the SAT problem.

Instances

Equatable Bit Source # 

Methods

(===) :: Bit -> Bit -> Bit Source #

(/==) :: Bit -> Bit -> Bit Source #

Equatable Bits Source # 

Methods

(===) :: Bits -> Bits -> Bit Source #

(/==) :: Bits -> Bits -> Bit Source #

Equatable Bit8 Source # 

Methods

(===) :: Bit8 -> Bit8 -> Bit Source #

(/==) :: Bit8 -> Bit8 -> Bit Source #

Equatable Bit7 Source # 

Methods

(===) :: Bit7 -> Bit7 -> Bit Source #

(/==) :: Bit7 -> Bit7 -> Bit Source #

Equatable Bit6 Source # 

Methods

(===) :: Bit6 -> Bit6 -> Bit Source #

(/==) :: Bit6 -> Bit6 -> Bit Source #

Equatable Bit5 Source # 

Methods

(===) :: Bit5 -> Bit5 -> Bit Source #

(/==) :: Bit5 -> Bit5 -> Bit Source #

Equatable Bit4 Source # 

Methods

(===) :: Bit4 -> Bit4 -> Bit Source #

(/==) :: Bit4 -> Bit4 -> Bit Source #

Equatable Bit3 Source # 

Methods

(===) :: Bit3 -> Bit3 -> Bit Source #

(/==) :: Bit3 -> Bit3 -> Bit Source #

Equatable Bit2 Source # 

Methods

(===) :: Bit2 -> Bit2 -> Bit Source #

(/==) :: Bit2 -> Bit2 -> Bit Source #

Equatable Bit1 Source # 

Methods

(===) :: Bit1 -> Bit1 -> Bit Source #

(/==) :: Bit1 -> Bit1 -> Bit Source #

Equatable BitChar Source # 
Equatable a => Equatable [a] Source # 

Methods

(===) :: [a] -> [a] -> Bit Source #

(/==) :: [a] -> [a] -> Bit Source #

Equatable a => Equatable (Maybe a) Source # 

Methods

(===) :: Maybe a -> Maybe a -> Bit Source #

(/==) :: Maybe a -> Maybe a -> Bit Source #

Equatable v => Equatable (IntMap v) Source # 

Methods

(===) :: IntMap v -> IntMap v -> Bit Source #

(/==) :: IntMap v -> IntMap v -> Bit Source #

(Equatable a, Equatable b) => Equatable (Either a b) Source # 

Methods

(===) :: Either a b -> Either a b -> Bit Source #

(/==) :: Either a b -> Either a b -> Bit Source #

(Equatable a, Equatable b) => Equatable (a, b) Source # 

Methods

(===) :: (a, b) -> (a, b) -> Bit Source #

(/==) :: (a, b) -> (a, b) -> Bit Source #

(Eq k, Equatable v) => Equatable (Map k v) Source # 

Methods

(===) :: Map k v -> Map k v -> Bit Source #

(/==) :: Map k v -> Map k v -> Bit Source #

(Equatable a, Equatable b, Equatable c) => Equatable (a, b, c) Source # 

Methods

(===) :: (a, b, c) -> (a, b, c) -> Bit Source #

(/==) :: (a, b, c) -> (a, b, c) -> Bit Source #

(Equatable a, Equatable b, Equatable c, Equatable d) => Equatable (a, b, c, d) Source # 

Methods

(===) :: (a, b, c, d) -> (a, b, c, d) -> Bit Source #

(/==) :: (a, b, c, d) -> (a, b, c, d) -> Bit Source #

(Equatable a, Equatable b, Equatable c, Equatable d, Equatable e) => Equatable (a, b, c, d, e) Source # 

Methods

(===) :: (a, b, c, d, e) -> (a, b, c, d, e) -> Bit Source #

(/==) :: (a, b, c, d, e) -> (a, b, c, d, e) -> Bit Source #

(Equatable a, Equatable b, Equatable c, Equatable d, Equatable e, Equatable f) => Equatable (a, b, c, d, e, f) Source # 

Methods

(===) :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> Bit Source #

(/==) :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> Bit Source #

(Equatable a, Equatable b, Equatable c, Equatable d, Equatable e, Equatable f, Equatable g) => Equatable (a, b, c, d, e, f, g) Source # 

Methods

(===) :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> Bit Source #

(/==) :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> Bit Source #

class GEquatable f where Source #

Minimal complete definition

(===#)

Methods

(===#) :: f a -> f a -> Bit Source #

Instances

GEquatable (V1 *) Source # 

Methods

(===#) :: V1 * a -> V1 * a -> Bit Source #

GEquatable (U1 *) Source # 

Methods

(===#) :: U1 * a -> U1 * a -> Bit Source #

Equatable a => GEquatable (K1 * i a) Source # 

Methods

(===#) :: K1 * i a a -> K1 * i a a -> Bit Source #

(GEquatable f, GEquatable g) => GEquatable ((:+:) * f g) Source # 

Methods

(===#) :: (* :+: f) g a -> (* :+: f) g a -> Bit Source #

(GEquatable f, GEquatable g) => GEquatable ((:*:) * f g) Source # 

Methods

(===#) :: (* :*: f) g a -> (* :*: f) g a -> Bit Source #

GEquatable f => GEquatable (M1 * i c f) Source # 

Methods

(===#) :: M1 * i c f a -> M1 * i c f a -> Bit Source #