plutus-contract-1.2.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.Contract.Test.Coverage.Analysis.Types

Synopsis

Documentation

data SnocList a Source #

Constructors

Nil 
(SnocList a) :> a infixl 5 

Instances

Instances details
Functor SnocList Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Methods

fmap :: (a -> b) -> SnocList a -> SnocList b Source #

(<$) :: a -> SnocList b -> SnocList a Source #

Foldable SnocList Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Methods

fold :: Monoid m => SnocList m -> m Source #

foldMap :: Monoid m => (a -> m) -> SnocList a -> m Source #

foldMap' :: Monoid m => (a -> m) -> SnocList a -> m Source #

foldr :: (a -> b -> b) -> b -> SnocList a -> b Source #

foldr' :: (a -> b -> b) -> b -> SnocList a -> b Source #

foldl :: (b -> a -> b) -> b -> SnocList a -> b Source #

foldl' :: (b -> a -> b) -> b -> SnocList a -> b Source #

foldr1 :: (a -> a -> a) -> SnocList a -> a Source #

foldl1 :: (a -> a -> a) -> SnocList a -> a Source #

toList :: SnocList a -> [a] Source #

null :: SnocList a -> Bool Source #

length :: SnocList a -> Int Source #

elem :: Eq a => a -> SnocList a -> Bool Source #

maximum :: Ord a => SnocList a -> a Source #

minimum :: Ord a => SnocList a -> a Source #

sum :: Num a => SnocList a -> a Source #

product :: Num a => SnocList a -> a Source #

Traversable SnocList Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Methods

traverse :: Applicative f => (a -> f b) -> SnocList a -> f (SnocList b) Source #

sequenceA :: Applicative f => SnocList (f a) -> f (SnocList a) Source #

mapM :: Monad m => (a -> m b) -> SnocList a -> m (SnocList b) Source #

sequence :: Monad m => SnocList (m a) -> m (SnocList a) Source #

Eq a => Eq (SnocList a) Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Methods

(==) :: SnocList a -> SnocList a -> Bool Source #

(/=) :: SnocList a -> SnocList a -> Bool Source #

Ord a => Ord (SnocList a) Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Show a => Show (SnocList a) Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Generic (SnocList a) Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Associated Types

type Rep (SnocList a) :: Type -> Type Source #

Methods

from :: SnocList a -> Rep (SnocList a) x Source #

to :: Rep (SnocList a) x -> SnocList a Source #

Semigroup (SnocList a) Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Monoid (SnocList a) Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Pretty a => Pretty (SnocList a) Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Pretty

type Rep (SnocList a) Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

type Rep (SnocList a) = D1 ('MetaData "SnocList" "Plutus.Contract.Test.Coverage.Analysis.Types" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'False) (C1 ('MetaCons "Nil" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons ":>" ('InfixI 'LeftAssociative 5) 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SnocList a)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))

zipWithSnoc :: (a -> b -> c) -> SnocList a -> SnocList b -> SnocList c Source #

Domain definitions

data DCon Source #

Constructors

DCon [DTyp] 

Instances

Instances details
Eq DCon Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Methods

(==) :: DCon -> DCon -> Bool Source #

(/=) :: DCon -> DCon -> Bool Source #

Show DCon Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Generic DCon Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Associated Types

type Rep DCon :: Type -> Type Source #

Methods

from :: DCon -> Rep DCon x Source #

to :: Rep DCon x -> DCon Source #

Pretty DCon Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Pretty

type Rep DCon Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

type Rep DCon = D1 ('MetaData "DCon" "Plutus.Contract.Test.Coverage.Analysis.Types" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'False) (C1 ('MetaCons "DCon" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DTyp])))

data DDat Source #

Constructors

DDat Bool NamedTyDeBruijn Kin [NamedTyDeBruijn] [DCon] 

Instances

Instances details
Eq DDat Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Methods

(==) :: DDat -> DDat -> Bool Source #

(/=) :: DDat -> DDat -> Bool Source #

Show DDat Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Generic DDat Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Associated Types

type Rep DDat :: Type -> Type Source #

Methods

from :: DDat -> Rep DDat x Source #

to :: Rep DDat x -> DDat Source #

Pretty DDat Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Pretty

type Rep DDat Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

data TyCtxEntry Source #

Constructors

NamedTyDeBruijn ::: Kin 
TyCtxRecDat (SnocList DDat) 
TyCtxDat DDat 

Instances

Instances details
Eq TyCtxEntry Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Show TyCtxEntry Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Generic TyCtxEntry Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Associated Types

type Rep TyCtxEntry :: Type -> Type Source #

Pretty TyCtxEntry Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Pretty

type Rep TyCtxEntry Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

type Rep TyCtxEntry = D1 ('MetaData "TyCtxEntry" "Plutus.Contract.Test.Coverage.Analysis.Types" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'False) (C1 ('MetaCons ":::" ('InfixI 'LeftAssociative 9) 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NamedTyDeBruijn) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Kin)) :+: (C1 ('MetaCons "TyCtxRecDat" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SnocList DDat))) :+: C1 ('MetaCons "TyCtxDat" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DDat))))

type Subst a = SnocList a Source #

data Dom Source #

Constructors

DTop 

Fields

DError 
DSusp 

Fields

DTySusp 

Fields

DIf 

Fields

DTrace 

Fields

DLoc 

Fields

DLam 

Fields

DConstr 

Fields

DMatch 

Fields

DUnion [Dom] 
DWeaken 

Fields

Instances

Instances details
Show Dom Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Generic Dom Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Associated Types

type Rep Dom :: Type -> Type Source #

Methods

from :: Dom -> Rep Dom x Source #

to :: Rep Dom x -> Dom Source #

Pretty Dom Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Pretty

Methods

pretty :: Dom -> Doc Source #

prettyPrec :: Int -> Dom -> Doc Source #

type Rep Dom Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

type Rep Dom = D1 ('MetaData "Dom" "Plutus.Contract.Test.Coverage.Analysis.Types" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'False) (((C1 ('MetaCons "DTop" 'PrefixI 'True) (S1 ('MetaSel ('Just "ty") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DTyp) :*: (S1 ('MetaSel ('Just "depth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "_locations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set CoverageAnnotation)))) :+: (C1 ('MetaCons "DError" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DSusp" 'PrefixI 'True) (S1 ('MetaSel ('Just "_locations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set CoverageAnnotation)) :*: S1 ('MetaSel ('Just "inner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Dom)))) :+: (C1 ('MetaCons "DTySusp" 'PrefixI 'True) ((S1 ('MetaSel ('Just "suspName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NamedTyDeBruijn) :*: S1 ('MetaSel ('Just "kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Kin)) :*: (S1 ('MetaSel ('Just "_locations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set CoverageAnnotation)) :*: S1 ('MetaSel ('Just "inner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Dom))) :+: (C1 ('MetaCons "DIf" 'PrefixI 'True) (S1 ('MetaSel ('Just "argTy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DTyp) :*: S1 ('MetaSel ('Just "_locations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set CoverageAnnotation))) :+: C1 ('MetaCons "DTrace" 'PrefixI 'True) (S1 ('MetaSel ('Just "argTy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DTyp) :*: S1 ('MetaSel ('Just "_locations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set CoverageAnnotation)))))) :+: ((C1 ('MetaCons "DLoc" 'PrefixI 'True) (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CoverageAnnotation)) :+: (C1 ('MetaCons "DLam" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NamedDeBruijn) :*: (S1 ('MetaSel ('Just "argTy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DTyp) :*: S1 ('MetaSel ('Just "substD") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Subst Dom)))) :*: (S1 ('MetaSel ('Just "substT") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Subst DTyp)) :*: (S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Trm) :*: S1 ('MetaSel ('Just "_locations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set CoverageAnnotation))))) :+: C1 ('MetaCons "DConstr" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DTyp) :*: S1 ('MetaSel ('Just "constr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "argsD") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SnocList Dom)) :*: S1 ('MetaSel ('Just "_locations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set CoverageAnnotation)))))) :+: (C1 ('MetaCons "DMatch" 'PrefixI 'True) (S1 ('MetaSel ('Just "dat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DTyp) :*: S1 ('MetaSel ('Just "_locations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set CoverageAnnotation))) :+: (C1 ('MetaCons "DUnion" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Dom])) :+: C1 ('MetaCons "DWeaken" 'PrefixI 'True) (S1 ('MetaSel ('Just "wk") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Weakening) :*: S1 ('MetaSel ('Just "inner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Dom))))))

data DTyp Source #

Constructors

DTVar NamedTyDeBruijn [DTyp] 
DTFun DTyp DTyp 
DTLam 

Fields

DTForall 

Fields

DTWk 

Fields

DTyBuiltin Kin 

Instances

Instances details
Eq DTyp Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Methods

(==) :: DTyp -> DTyp -> Bool Source #

(/=) :: DTyp -> DTyp -> Bool Source #

Show DTyp Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Generic DTyp Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Associated Types

type Rep DTyp :: Type -> Type Source #

Methods

from :: DTyp -> Rep DTyp x Source #

to :: Rep DTyp x -> DTyp Source #

Pretty DTyp Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Pretty

type Rep DTyp Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

type Rep DTyp = D1 ('MetaData "DTyp" "Plutus.Contract.Test.Coverage.Analysis.Types" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'False) ((C1 ('MetaCons "DTVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NamedTyDeBruijn) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DTyp])) :+: (C1 ('MetaCons "DTFun" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DTyp) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DTyp)) :+: C1 ('MetaCons "DTLam" 'PrefixI 'True) (S1 ('MetaSel ('Just "dtName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NamedTyDeBruijn) :*: (S1 ('MetaSel ('Just "dtKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Kin) :*: S1 ('MetaSel ('Just "dtBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DTyp))))) :+: (C1 ('MetaCons "DTForall" 'PrefixI 'True) (S1 ('MetaSel ('Just "dtName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NamedTyDeBruijn) :*: (S1 ('MetaSel ('Just "dtKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Kin) :*: S1 ('MetaSel ('Just "dtBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DTyp))) :+: (C1 ('MetaCons "DTWk" 'PrefixI 'True) (S1 ('MetaSel ('Just "dtWk") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Weakening) :*: S1 ('MetaSel ('Just "dtBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DTyp)) :+: C1 ('MetaCons "DTyBuiltin" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Kin)))))

data DArg Source #

Constructors

TyArg DTyp 
DArg Dom 

Instances

Instances details
Show DArg Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Pretty DArg Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Pretty

newtype Weakening Source #

Constructors

Wk [(Index, Index)] 

Instances

Instances details
Eq Weakening Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Show Weakening Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Generic Weakening Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Associated Types

type Rep Weakening :: Type -> Type Source #

Semigroup Weakening Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Monoid Weakening Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Types

Pretty Weakening Source # 
Instance details

Defined in Plutus.Contract.Test.Coverage.Analysis.Pretty

type Rep Weakening Source # 
Instance details

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 #

topLevelLocations :: HasCallStack => Dom -> Set CoverageAnnotation Source #