plutus-tx-plugin-1.36.0.0: The Plutus Tx compiler and GHC plugin
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusTx.Compiler.Utils

Synopsis

Documentation

getThingCompiling uni fun m ann ⇒ Name → m TyThing Source #

Get the TyThing for a given Name which was stored in the builtin name info, failing if it is missing.

sdToTxtMonadReader (CompileContext uni fun) m ⇒ SDoc → m Text Source #

throwSd ∷ (MonadError (CompileError uni fun ann) m, MonadReader (CompileContext uni fun) m) ⇒ (TextError uni fun ann) → SDoc → m a Source #