HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleghc-9.10.3GHC2021

GHC.Wasm.ControlFlow

  • 6 types
  • 2 values
  • Packageghc-9.10.3
  • Exports9
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceTypes.hs
datadata WasmControl a b (c :: [WasmType]) (d :: [WasmType]) where
#

Representation of WebAssembly control flow. Normally written as WasmControl s e pre post Type parameter s is the type of (unspecified) statements. It might be instantiated with an open Cmm block or with a sequence of Wasm instructions. Parameter e is the type of expressions. Parameter pre represents the values that are expected on the WebAssembly stack when the code runs, and post represents the state of the stack on completion.

Constructors

datadata WasmType
#

WebAssembly type of a WebAssembly value that WebAssembly code could either expect on the evaluation stack or leave on the evaluation stack.

Instances1TestEquality