Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c1be9d5

Browse files
committed
* Doc/tut.tex (subsection{Lambda Forms}): fix typo in lambda
example
1 parent 275b0a4 commit c1be9d5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/tut.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2864,7 +2864,7 @@ \subsection{Lambda Forms}
28642864

28652865
\begin{verbatim}
28662866
def make_incrementor(n):
2867-
return lambda(x, incr=n): x+incr
2867+
return lambda x, incr=n: x+incr
28682868
\end{verbatim}
28692869

28702870
\subsection{Map, Reduce and Filter}

Doc/tut/tut.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2864,7 +2864,7 @@ \subsection{Lambda Forms}
28642864

28652865
\begin{verbatim}
28662866
def make_incrementor(n):
2867-
return lambda(x, incr=n): x+incr
2867+
return lambda x, incr=n: x+incr
28682868
\end{verbatim}
28692869

28702870
\subsection{Map, Reduce and Filter}

0 commit comments

Comments
 (0)