wasm-1.1.1: WebAssembly Language Toolkit and Interpreter
Safe HaskellNone
LanguageHaskell2010

Language.Wasm.Interpreter

Documentation

data Value Source #

Instances

Instances details
Eq Value Source # 
Instance details

Defined in Language.Wasm.Interpreter

Methods

(==) :: Value -> Value -> Bool #

(/=) :: Value -> Value -> Bool #

Show Value Source # 
Instance details

Defined in Language.Wasm.Interpreter

Methods

showsPrec :: Int -> Value -> ShowS #

show :: Value -> String #

showList :: [Value] -> ShowS #

data ExternalValue Source #

Constructors

ExternFunction Address 
ExternTable Address 
ExternMemory Address 
ExternGlobal Address 

Instances

Instances details
Eq ExternalValue Source # 
Instance details

Defined in Language.Wasm.Interpreter

Show ExternalValue Source # 
Instance details

Defined in Language.Wasm.Interpreter

invoke :: Store -> Address -> [Value] -> IO (Maybe [Value]) Source #