| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
PlutusCore.Executable.Types
Synopsis
- type PirProg = Program TyName Name DefaultUni DefaultFun
- type PirTerm = Term TyName Name DefaultUni DefaultFun
- type PlcProg = Program TyName Name DefaultUni DefaultFun
- type PlcTerm = Term TyName Name DefaultUni DefaultFun
- type UplcProg = Program Name DefaultUni DefaultFun
- type UplcTerm = Term Name DefaultUni DefaultFun
- data AstNameType
- data Input
- data Output
- data TimingMode
- data CekModel
- data PrintMode
- data NameFormat
- data TraceMode
- type ExampleName = Text
- data ExampleMode
- type Files = [FilePath]
- data Format
- = Textual
- | Serialised
- | Hex
- | Flat AstNameType
- | Blueprint
- type Certifier = Maybe String
- data CertifierOutputMode
- data ConvertOptions = ConvertOptions Input Format Output Format PrintMode
- data OptimiseOptions name a = OptimiseOptions Input Format Output Format PrintMode Certifier CertifierOutputMode (OptimizeOpts name a) OptimiseEvalOpts
- data PrintOptions = PrintOptions Input Output PrintMode
- newtype ExampleOptions = ExampleOptions ExampleMode
- data ApplyOptions = ApplyOptions [(FilePath, Format)] Output Format PrintMode
- data EvalArgKind
- data OptimiseEvalOpts = OptimiseEvalOpts {}
- data PirFormat
- pirFormatToFormat ∷ PirFormat → Format
- data Language
Documentation
type PirProg = Program TyName Name DefaultUni DefaultFun Source #
PIR program type.
type PirTerm = Term TyName Name DefaultUni DefaultFun Source #
PIR term type.
type PlcProg = Program TyName Name DefaultUni DefaultFun Source #
PLC program type.
type PlcTerm = Term TyName Name DefaultUni DefaultFun Source #
PLC term type.
type UplcProg = Program Name DefaultUni DefaultFun Source #
UPLC program type.
type UplcTerm = Term Name DefaultUni DefaultFun Source #
UPLC term type.
data AstNameType Source #
Constructors
| Named | |
| DeBruijn | |
| NamedDeBruijn |
Instances
| Show AstNameType Source # | |
Defined in PlutusCore.Executable.Types | |
| Eq AstNameType Source # | |
Defined in PlutusCore.Executable.Types Methods (==) ∷ AstNameType → AstNameType → Bool Source # (/=) ∷ AstNameType → AstNameType → Bool Source # | |
data TimingMode Source #
Instances
| Eq TimingMode Source # | |
Defined in PlutusCore.Executable.Types | |
Constructors
| Classic | |
| Simple | |
| Readable | |
| ReadableSimple |
Instances
| Bounded PrintMode Source # | |
| Enum PrintMode Source # | |
Defined in PlutusCore.Executable.Types Methods succ ∷ PrintMode → PrintMode Source # pred ∷ PrintMode → PrintMode Source # toEnum ∷ Int → PrintMode Source # fromEnum ∷ PrintMode → Int Source # enumFrom ∷ PrintMode → [PrintMode] Source # enumFromThen ∷ PrintMode → PrintMode → [PrintMode] Source # enumFromTo ∷ PrintMode → PrintMode → [PrintMode] Source # enumFromThenTo ∷ PrintMode → PrintMode → PrintMode → [PrintMode] Source # | |
| Read PrintMode Source # | |
| Show PrintMode Source # | |
data NameFormat Source #
Constructors
| IdNames | |
| DeBruijnNames |
Constructors
| None | |
| Logs | |
| LogsWithTimestamps | |
| LogsWithBudgets | |
| LogsWithCallTrace |
Instances
| Bounded TraceMode Source # | |
| Enum TraceMode Source # | |
Defined in PlutusCore.Executable.Types Methods succ ∷ TraceMode → TraceMode Source # pred ∷ TraceMode → TraceMode Source # toEnum ∷ Int → TraceMode Source # fromEnum ∷ TraceMode → Int Source # enumFrom ∷ TraceMode → [TraceMode] Source # enumFromThen ∷ TraceMode → TraceMode → [TraceMode] Source # enumFromTo ∷ TraceMode → TraceMode → [TraceMode] Source # enumFromThenTo ∷ TraceMode → TraceMode → TraceMode → [TraceMode] Source # | |
| Read TraceMode Source # | |
| Show TraceMode Source # | |
type ExampleName = Text Source #
data ExampleMode Source #
Constructors
| ExampleSingle ExampleName | |
| ExampleAvailable |
Input/output format for programs
Constructors
| Textual | |
| Serialised | standard serialization/deserialization using |
| Hex | serialization plus hex encoding. This is the format used in the blueprints and most other places. |
| Flat AstNameType | |
| Blueprint |
data CertifierOutputMode Source #
Constructors
| CertBasic | |
| CertReport FilePath | |
| CertProject |
data ConvertOptions Source #
data OptimiseOptions name a Source #
Constructors
| OptimiseOptions Input Format Output Format PrintMode Certifier CertifierOutputMode (OptimizeOpts name a) OptimiseEvalOpts |
data PrintOptions Source #
Constructors
| PrintOptions Input Output PrintMode |
newtype ExampleOptions Source #
Constructors
| ExampleOptions ExampleMode |
data ApplyOptions Source #
Each input file is paired with the input format to read it with (the
explicit --if, or the format deduced from that file's own extension).
data EvalArgKind Source #
Instances
| Show EvalArgKind Source # | |
Defined in PlutusCore.Executable.Types | |
data OptimiseEvalOpts Source #
Constructors
| OptimiseEvalOpts | |
Fields
| |
Specialised types for PIR, which doesn't support deBruijn names in ASTs | A specialised format type for PIR. We don't support deBruijn or named deBruijn for PIR.
Constructors
| TextualPir | |
| FlatNamed |
pirFormatToFormat ∷ PirFormat → Format Source #
Convert the PIR format type to the general format type.