what4-1.6.3: Solver-agnostic symbolic values support for issuing queries
Safe HaskellNone
LanguageHaskell2010

What4.IndexLit

Synopsis

Documentation

data IndexLit (idx :: BaseType) where Source #

This represents a concrete index value, and is used for creating arrays.

Constructors

IntIndexLit :: !Integer -> IndexLit 'BaseIntegerType 
BVIndexLit :: forall (w :: Natural). 1 <= w => !(NatRepr w) -> !(BV w) -> IndexLit ('BaseBVType w) 

Instances

Instances details
TestEquality IndexLit Source # 
Instance details

Defined in What4.IndexLit

Methods

testEquality :: forall (a :: BaseType) (b :: BaseType). IndexLit a -> IndexLit b -> Maybe (a :~: b) Source #

HashableF IndexLit Source # 
Instance details

Defined in What4.IndexLit

Methods

hashWithSaltF :: forall (tp :: BaseType). Int -> IndexLit tp -> Int Source #

hashF :: forall (tp :: BaseType). IndexLit tp -> Int Source #

OrdF IndexLit Source # 
Instance details

Defined in What4.IndexLit

Methods

compareF :: forall (x :: BaseType) (y :: BaseType). IndexLit x -> IndexLit y -> OrderingF x y Source #

leqF :: forall (x :: BaseType) (y :: BaseType). IndexLit x -> IndexLit y -> Bool Source #

ltF :: forall (x :: BaseType) (y :: BaseType). IndexLit x -> IndexLit y -> Bool Source #

geqF :: forall (x :: BaseType) (y :: BaseType). IndexLit x -> IndexLit y -> Bool Source #

gtF :: forall (x :: BaseType) (y :: BaseType). IndexLit x -> IndexLit y -> Bool Source #

ShowF IndexLit Source # 
Instance details

Defined in What4.IndexLit

Methods

withShow :: forall p q (tp :: BaseType) a. p IndexLit -> q tp -> (Show (IndexLit tp) => a) -> a Source #

showF :: forall (tp :: BaseType). IndexLit tp -> String Source #

showsPrecF :: forall (tp :: BaseType). Int -> IndexLit tp -> String -> String Source #

Show (IndexLit tp) Source # 
Instance details

Defined in What4.IndexLit

Eq (IndexLit tp) Source # 
Instance details

Defined in What4.IndexLit

Methods

(==) :: IndexLit tp -> IndexLit tp -> Bool Source #

(/=) :: IndexLit tp -> IndexLit tp -> Bool Source #

Hashable (IndexLit tp) Source # 
Instance details

Defined in What4.IndexLit

Methods

hashWithSalt :: Int -> IndexLit tp -> Int Source #

hash :: IndexLit tp -> Int Source #

hashIndexLit :: forall (idx :: BaseType). Int -> IndexLit idx -> Int Source #