package octez-l2-libs
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a
doc/octez-l2-libs.wasmer/Tezos_wasmer/index.html
Module Tezos_wasmerSource
WebAssembly type
Function type
x @-> f composes a function type such that x is in the contravariant position and f in the covariant position.
returning1 ret describes a function that receives no arguments and returns a single value of type ret.
Return type
a @** b composes two types as a tuple return type such that two values of respectively type a and b are returned.
x @* xs composes things similarly to @** with the addition that the second parameter may already be a composite type.
returning ret constructs a function type which receives no parameters from the WebAssembly side, but returns values as described by ret.
producer ret works similar to returning but adds an extra unit argument so that the effects of the implementing function trigger at call time.
Something that can be given to a WebAssembly module via an import