equal
deleted
inserted
replaced
605 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
605 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
606 |
606 |
607 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
607 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
608 \begin{frame}[c, fragile] |
608 \begin{frame}[c, fragile] |
609 |
609 |
610 {\Large Why bother? or\smallskip\\\hfill What is wrong with this?}\bigskip\bigskip |
610 \small |
611 |
611 \begin{lstlisting}[language=Scala,numbers=none] |
612 |
612 def fname(arg1: ty1, arg2: ty2,..., argn: tyn): rty = { |
613 \begin{lstlisting}[language=C,numbers=none] |
613 |
614 for (int i = 10; i < 20; i++) { |
614 .... |
615 |
|
616 //...Do something interesting |
|
617 // with i... |
|
618 |
615 |
619 } |
616 } |
620 \end{lstlisting} |
617 \end{lstlisting} |
621 |
618 |
622 |
619 |