Skip to content

Commit 3439fb8

Browse files
martin-henzning-y
authored andcommitted
Specify no newline between (args) and =>
1 parent c8096cb commit 3439fb8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

doc/source_return.tex

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
\section*{\textrm{return} statements}
1+
\section*{\textrm{return} statements and function definition expressions}
22

33
\begin{itemize}
4-
\item \textrm{return} statements are only allowed in bodies of functions.
4+
\item Return statements are only allowed in bodies of functions.
55
\item There cannot be any newline character between
6-
$\textbf{\texttt{return}}$ and $ \textit{expression} \
7-
\textbf{\texttt{;}}$.
6+
$\textbf{\texttt{return}}$ and $\textit{expression}$ in return statements.
7+
\item There cannot be any newline character between
8+
$(\ \textit{name}\ | \ \textbf{\texttt{(}}\ \textit{parameters}\ \textbf{\texttt{)}}\ )$
9+
and
10+
$\texttt{\textbf{=>}}$ in function definition expressions.
11+
812
\end{itemize}

0 commit comments

Comments
 (0)