day1/Session-4.tex
changeset 85 8ca53181bee6
parent 65 a525e580bc43
child 86 f657495cf8b2
equal deleted inserted replaced
65:a525e580bc43 85:8ca53181bee6
   252 \end{frame}
   252 \end{frame}
   253 
   253 
   254 \subsection{Functional programming}
   254 \subsection{Functional programming}
   255 \begin{frame}[fragile]
   255 \begin{frame}[fragile]
   256     \frametitle{Functional programming}
   256     \frametitle{Functional programming}
   257 What is the basic idea?\\
   257     \begin{itemize}
   258 Why is it interesting?\\
   258       \item What is the basic idea?
   259 \typ{map, reduce, filter}\\
   259       \item Why is it interesting?
   260 list comprehension\\
   260       \item \typ{map, reduce, filter}
   261 generators
   261       \item list comprehension
       
   262       \item generators
       
   263     \end{itemize}
   262 \end{frame}
   264 \end{frame}
   263 
   265 
   264 \begin{frame}[fragile]
   266 \begin{frame}[fragile]
   265     \frametitle{List Comprehensions}
   267     \frametitle{List Comprehensions}
   266 Lets say we want to squares of all the numbers from 1 to 100
   268 Lets say we want to squares of all the numbers from 1 to 100