plutus-core
Safe HaskellNone
LanguageHaskell2010

UntypedPlutusCore.Mark

Synopsis

Documentation

markNonFreshTerm :: forall name (uni :: Type -> Type) fun ann m. (HasUniques (Term name uni fun ann), MonadQuote m) => Term name uni fun ann -> m () Source #

Marks all the Uniques in a term as used, so they will not be generated in future. Useful if you have a term which was not generated in Quote.

markNonFreshProgram :: forall name m (uni :: Type -> Type) fun ann. (HasUnique name TermUnique, MonadQuote m) => Program name uni fun ann -> m () Source #

Marks all the Uniques in a program as used, so they will not be generated in future. Useful if you have a program which was not generated in Quote.