| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
PlutusTx.Plugin.Unsupported
Synopsis
- type Module = String
- type Class = String
- type Method = String
- type UseThisInstead = Maybe String
- data Unsupported
- renderUnsupported ∷ Unsupported → String
- isUnsupported ∷ HsExpr GhcTc → Maybe Unsupported
- checkIO ∷ Type → Maybe Unsupported
- checkUnsupportedMethod ∷ HsExpr GhcTc → Maybe Unsupported
- renderGhcName ∷ Name → String
- splitGhcName ∷ Name → (Maybe Module, String)
- unsupportedBaseClasses ∷ Map (Module, Class) UseThisInstead
- unsupportedMarkerModule ∷ String
- unsupportedMarkerName ∷ String
- injectUnsupportedMarkers ∷ TcGblEnv → TcM TcGblEnv
- wrapUnsupported ∷ Id → LHsExpr GhcTc → LHsExpr GhcTc
Documentation
type UseThisInstead = Maybe String Source #
data Unsupported Source #
Constructors
| BaseMethod Class Method UseThisInstead | |
| IO |
checkUnsupportedMethod ∷ HsExpr GhcTc → Maybe Unsupported Source #
Check if an expr is a method of an unsupported base class.
renderGhcName ∷ Name → String Source #