| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
PlutusIR.Analysis.Dependencies
Description
Functions for computing the dependency graph of variables within a term or type. A "dependency" between two nodes "A depends on B" means that B cannot be removed from the program without also removing A.
Instances
Graph (so we can compute e.g. a Relation from
it), whose vertices are Nodes. runTermDeps :: (DepGraph g, ToBuiltinMeaning uni fun) => BuiltinsInfo uni fun -> VarsInfo tyname name uni a -> Term tyname name uni fun a -> g # |