|
@@ -12790,7 +12790,11 @@ definitions does not matter).
|
|
function parameters, for example, to handle keyword parameters and
|
|
function parameters, for example, to handle keyword parameters and
|
|
defaults. The type checker in \code{type\_check\_Lfun} converts the
|
|
defaults. The type checker in \code{type\_check\_Lfun} converts the
|
|
more commplex syntax into the simpler syntax of
|
|
more commplex syntax into the simpler syntax of
|
|
- Figure~\ref{fig:Rfun-syntax}.}
|
|
|
|
|
|
+ Figure~\ref{fig:Rfun-syntax}. The fourth and sixth parameters of the
|
|
|
|
+ \code{FunctionDef} constructor are for decorators and a type
|
|
|
|
+ comment, neither of which are used by our compiler. We recommend
|
|
|
|
+ replacing them with \code{None} in the \code{shrink} pass.
|
|
|
|
+}
|
|
%
|
|
%
|
|
The concrete syntax for function application\index{subject}{function
|
|
The concrete syntax for function application\index{subject}{function
|
|
application} is $\CAPPLY{\Exp}{\Exp \ldots}$ where the first expression
|
|
application} is $\CAPPLY{\Exp}{\Exp \ldots}$ where the first expression
|