plutus-contract-1.2.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.Contract.Test.Coverage.Analysis.DeBruijn

Synopsis

Conversion to DeBruijn

type DBCtx nm = [nm] Source #

class Eq n => IsName n where Source #

Associated Types

type DeBruijn n Source #

Methods

mkDeBruijn :: n -> Index -> DeBruijn n Source #

Instances

Instances details
IsName TyName Source # 
Instance details

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

Associated Types

type DeBruijn TyName Source #

Methods

mkDeBruijn :: TyName -> Index -> DeBruijn TyName Source #

IsName Name Source # 
Instance details

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

Associated Types

type DeBruijn Name Source #

Methods

mkDeBruijn :: Name -> Index -> DeBruijn Name Source #

class IsDbName n where Source #

Methods

setDbIndex :: n -> Index -> n Source #

getDbIndex :: n -> Index Source #

Instances

Instances details
IsDbName NamedDeBruijn Source # 
Instance details

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

Methods

setDbIndex :: NamedDeBruijn -> Index -> NamedDeBruijn Source #

getDbIndex :: NamedDeBruijn -> Index Source #

IsDbName NamedTyDeBruijn Source # 
Instance details

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

Methods

setDbIndex :: NamedTyDeBruijn -> Index -> NamedTyDeBruijn Source #

getDbIndex :: NamedTyDeBruijn -> Index Source #

toDeBruijn_Trm :: HasCallStack => DBCtx TyName -> DBCtx Name -> Trm' -> Trm Source #

bindCtx_Dat :: HasCallStack => (DBCtx TyName, DBCtx Name) -> Dat' -> (DBCtx TyName, DBCtx Name) Source #

bindCtx_Bind :: HasCallStack => (DBCtx TyName, DBCtx Name) -> Bind' -> (DBCtx TyName, DBCtx Name) Source #

toDeBruijn_Bind :: HasCallStack => Bool -> DBCtx TyName -> DBCtx Name -> Bind' -> Bind Source #

getTrm :: HasCallStack => CompiledCode a -> Trm Source #