package octez-l2-libs
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
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