From c18973c8f9e4db63f4134fdba723123afb1f1f29 Mon Sep 17 00:00:00 2001 From: Puneeth Chaganti Date: Tue, 14 Jun 2011 13:41:19 +0530 Subject: adv_py: Removed duplicate slide. --- advanced_python/slides/lambda.tex | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/advanced_python/slides/lambda.tex b/advanced_python/slides/lambda.tex index 2ac7701..25c4f97 100644 --- a/advanced_python/slides/lambda.tex +++ b/advanced_python/slides/lambda.tex @@ -103,23 +103,6 @@ \end{lstlisting} \end{frame} -\begin{frame}[fragile] - \frametitle{\texttt{map} \ldots} - \begin{itemize} - \item Takes a function and a sequence as arguments - \item Calls function with each element of sequence as argument - \item Returns a sequence with all the results as elements - \item We solve the easier problem first, using \texttt{map} - \end{itemize} - - \begin{lstlisting} - def moonize(weight): - return weight/6.0 - - map(moonize, weights) - \end{lstlisting} -\end{frame} - \begin{frame}[fragile] \frametitle{\texttt{map} \ldots} \begin{lstlisting} -- cgit