Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data SnocList a
- zipWithSnoc :: (a -> b -> c) -> SnocList a -> SnocList b -> SnocList c
- data DCon = DCon [DTyp]
- data DDat = DDat Bool NamedTyDeBruijn Kin [NamedTyDeBruijn] [DCon]
- data TyCtxEntry
- type TyCtx = SnocList TyCtxEntry
- type Subst a = SnocList a
- data Dom
- = DTop {
- ty :: DTyp
- depth :: Int
- _locations :: Set CoverageAnnotation
- | DError
- | DSusp {
- _locations :: Set CoverageAnnotation
- inner :: Dom
- | DTySusp { }
- | DIf {
- argTy :: DTyp
- _locations :: Set CoverageAnnotation
- | DTrace {
- argTy :: DTyp
- _locations :: Set CoverageAnnotation
- | DLoc {
- location :: CoverageAnnotation
- | DLam { }
- | DConstr { }
- | DMatch {
- dat :: DTyp
- _locations :: Set CoverageAnnotation
- | DUnion [Dom]
- | DWeaken { }
- = DTop {
- data DTyp
- data DArg
- newtype Weakening = Wk [(Index, Index)]
- wkIndex :: HasCallStack => Weakening -> Index -> Index
- wkBy :: HasCallStack => Index -> Weakening
- shiftWeakening :: HasCallStack => Weakening -> Weakening
- topLevelLocations :: HasCallStack => Dom -> Set CoverageAnnotation
Documentation
Instances
Domain definitions
Instances
Eq DDat Source # | |
Show DDat Source # | |
Generic DDat Source # | |
Pretty DDat Source # | |
type Rep DDat Source # | |
Defined in Plutus.Contract.Test.Coverage.Analysis.Types type Rep DDat = D1 ('MetaData "DDat" "Plutus.Contract.Test.Coverage.Analysis.Types" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'False) (C1 ('MetaCons "DDat" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NamedTyDeBruijn)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Kin) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [NamedTyDeBruijn]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DCon]))))) |
data TyCtxEntry Source #
Instances
type TyCtx = SnocList TyCtxEntry Source #
DTop | |
| |
DError | |
DSusp | |
| |
DTySusp | |
DIf | |
| |
DTrace | |
| |
DLoc | |
| |
DLam | |
DConstr | |
DMatch | |
| |
DUnion [Dom] | |
DWeaken | |
Instances
Instances
Wk [(Index, Index)] |
Instances
Eq Weakening Source # | |
Show Weakening Source # | |
Generic Weakening Source # | |
Semigroup Weakening Source # | |
Monoid Weakening Source # | |
Pretty Weakening Source # | |
type Rep Weakening Source # | |
Defined in Plutus.Contract.Test.Coverage.Analysis.Types type Rep Weakening = D1 ('MetaData "Weakening" "Plutus.Contract.Test.Coverage.Analysis.Types" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'True) (C1 ('MetaCons "Wk" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Index, Index)]))) |
wkIndex :: HasCallStack => Weakening -> Index -> Index Source #
wkBy :: HasCallStack => Index -> Weakening Source #
shiftWeakening :: HasCallStack => Weakening -> Weakening Source #
topLevelLocations :: HasCallStack => Dom -> Set CoverageAnnotation Source #