diff --git a/document/core/intro/overview.rst b/document/core/intro/overview.rst index 5a4760baf4..84c375e218 100644 --- a/document/core/intro/overview.rst +++ b/document/core/intro/overview.rst @@ -70,7 +70,7 @@ This language is structured around the following concepts. **Tables** A *table* is an array of opaque values of a particular *element type*. It allows programs to select such values indirectly through a dynamic index operand. - Currently, the only available element type is an untyped function reference. + Currently, the only available element type is an untyped function reference or a reference to an external host value. Thereby, a program can call functions indirectly through a dynamic index into a table. For example, this allows emulating function pointers by way of table indices. diff --git a/document/core/syntax/modules.rst b/document/core/syntax/modules.rst index cfd8935aaf..c03c98502c 100644 --- a/document/core/syntax/modules.rst +++ b/document/core/syntax/modules.rst @@ -328,7 +328,7 @@ The |MSTART| component of a module declares the :ref:`function index ` a module, :ref:`external values ` must be provided whose :ref:`types ` are *matched* against the respective :ref:`external types ` classifying each import. -In some cases, this allows for a simple form of subtyping, as defined here. +In some cases, this allows for a simple form of subtyping (written ":math:`\matchesexterntype`" formally), as defined here. .. index:: limits @@ -279,7 +279,6 @@ Limits \vdashlimitsmatch \{ \LMIN~n_1, \LMAX~m_1 \} \matcheslimits \{ \LMIN~n_2, \LMAX~m_2 \} } - .. _match-externtype: .. index:: function type