| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Language.Wasm.Structure
Documentation
Constructors
| Module | |
data DataSegment Source #
Constructors
| DataSegment | |
Fields
| |
Instances
data ElemSegment Source #
Constructors
| ElemSegment | |
Fields
| |
Instances
Constructors
| Export | |
Fields
| |
data ExportDesc Source #
Constructors
| ExportFunc FuncIndex | |
| ExportTable TableIndex | |
| ExportMemory MemoryIndex | |
| ExportGlobal GlobalIndex |
Instances
Constructors
| Global | |
Fields | |
Constructors
| Function | |
Fields
| |
Constructors
| Import | |
Fields
| |
data ImportDesc Source #
Constructors
| ImportFunc TypeIndex | |
| ImportTable TableType | |
| ImportMemory Limit | |
| ImportGlobal GlobalType |
Instances
data Instruction index Source #
Constructors
Instances
| Eq index => Eq (Instruction index) Source # | |
| Show index => Show (Instruction index) Source # | |
| Generic (Instruction index) Source # | |
| NFData index => NFData (Instruction index) Source # | |
| type Rep (Instruction index) Source # | |
Constructors
| AnyFunc |
data GlobalType Source #
Instances
Constructors
| FuncType | |
Fields
| |
type ResultType = [ValueType] Source #
type Expression = [Instruction Natural] Source #
type LabelIndex = Natural Source #
type LocalIndex = Natural Source #
type GlobalIndex = Natural Source #
emptyModule :: Module Source #
isFuncImport :: Import -> Bool Source #
isTableImport :: Import -> Bool Source #
isMemImport :: Import -> Bool Source #
isGlobalImport :: Import -> Bool Source #