Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data IndexLit idx where
- IntIndexLit :: !Integer -> IndexLit BaseIntegerType
- BVIndexLit :: 1 <= w => !(NatRepr w) -> !(BV w) -> IndexLit (BaseBVType w)
- hashIndexLit :: Int -> IndexLit idx -> Int
Documentation
data IndexLit idx where Source #
This represents a concrete index value, and is used for creating arrays.
IntIndexLit :: !Integer -> IndexLit BaseIntegerType | |
BVIndexLit :: 1 <= w => !(NatRepr w) -> !(BV w) -> IndexLit (BaseBVType w) |
Instances
TestEquality IndexLit Source # | |
Defined in What4.IndexLit | |
OrdF IndexLit Source # | |
Defined in What4.IndexLit compareF :: forall (x :: k) (y :: k). IndexLit x -> IndexLit y -> OrderingF x y # leqF :: forall (x :: k) (y :: k). IndexLit x -> IndexLit y -> Bool # ltF :: forall (x :: k) (y :: k). IndexLit x -> IndexLit y -> Bool # geqF :: forall (x :: k) (y :: k). IndexLit x -> IndexLit y -> Bool # gtF :: forall (x :: k) (y :: k). IndexLit x -> IndexLit y -> Bool # | |
ShowF IndexLit Source # | |
HashableF IndexLit Source # | |
Defined in What4.IndexLit | |
Eq (IndexLit tp) Source # | |
Show (IndexLit tp) Source # | |
Hashable (IndexLit tp) Source # | |
Defined in What4.IndexLit |