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

PlutusTx.Compiler.Utils

Synopsis

Documentation

lookupGhcTyConCompiling uni fun m ann ⇒ Name → m TyCon Source #

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

lookupGhcNameCompiling uni fun m ann ⇒ Name → m Name Source #

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

lookupGhcIdCompiling uni fun m ann ⇒ Name → m Id Source #

Get the Id for a given Name 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 #