From f47deb22f1723661f6bdec0d1e6abc2da2fa69ab Mon Sep 17 00:00:00 2001 From: CoruNethron Date: Sun, 2 Dec 2018 13:48:22 +1000 Subject: [PATCH] Changed description of function "a compound type of several arguments and one return" may be misunderstood as "one return statement", but in fact it means "one return value". Also, there might be no return value, i.e. [Any]->Void --- HaxeManual/02-types.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HaxeManual/02-types.tex b/HaxeManual/02-types.tex index fce44d22..b8a4594c 100644 --- a/HaxeManual/02-types.tex +++ b/HaxeManual/02-types.tex @@ -24,7 +24,7 @@ \chapter{Types} \item[\emph{Class instance}:] an object of a given class or interface \item[\emph{Enum instance}:] a value of a Haxe enumeration \item[\emph{Structure}:] an anonymous structure, i.e. a collection of named fields - \item[\emph{Function}:] a compound type of several arguments and one return + \item[\emph{Function}:] a compound type of several arguments and optionally return value \item[\emph{Dynamic}:] a wildcard type which is compatible with any type \item[\emph{Abstract}:] a compile-time type which is represented by a different type at runtime \item[\emph{Monomorph}:] an unknown type which may later become a different type