47 |
47 |
48 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
48 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
49 \begin{frame}[c] |
49 \begin{frame}[c] |
50 \frametitle{Why Scala?} |
50 \frametitle{Why Scala?} |
51 |
51 |
52 \begin{textblock}{6}(1,3) |
52 \begin{textblock}{6}(3,4) |
53 \begin{tabular}{l} |
53 \begin{tabular}{l} |
54 \mbox{}\hspace{-1mm}\includegraphics[scale=0.36]{../pics/twitter.png}\\[-1mm] |
54 \mbox{}\hspace{-1mm}\includegraphics[scale=0.36]{../pics/twitter.png}\\[-1mm] |
55 \includegraphics[scale=0.30]{../pics/linked.png}\\ |
55 \includegraphics[scale=0.30]{../pics/linked.png}\\ |
56 \includegraphics[scale=0.30]{../pics/guardian.jpg}\\[-3mm] |
56 \includegraphics[scale=0.30]{../pics/guardian.jpg}\\[-3mm] |
57 \mbox{}\hspace{-2mm}\includegraphics[scale=0.38]{../pics/morgan.png}\\[-3mm] |
57 \mbox{}\hspace{-2mm}\includegraphics[scale=0.38]{../pics/morgan.png}\\[-3mm] |
58 \includegraphics[scale=0.30]{../pics/suisse.png}\\ |
58 \includegraphics[scale=0.30]{../pics/suisse.png}\\ |
|
59 {\large\bf ...} |
|
60 \end{tabular} |
|
61 \end{textblock} |
|
62 |
|
63 \begin{textblock}{6}(9,4) |
|
64 \begin{tabular}{l} |
59 \includegraphics[scale=0.20]{../pics/edf.png}\\[-1mm] |
65 \includegraphics[scale=0.20]{../pics/edf.png}\\[-1mm] |
60 \includegraphics[scale=0.08]{../pics/novell.png}\\[-1mm] |
66 \includegraphics[scale=0.08]{../pics/novell.png}\\[-1mm] |
61 \includegraphics[scale=0.30]{../pics/foursquare.png}\\ |
67 \includegraphics[scale=0.30]{../pics/foursquare.png}\\ |
62 \includegraphics[scale=0.30]{../pics/hsbc.png}\\ |
68 \includegraphics[scale=0.30]{../pics/hsbc.png}\\ |
63 {\large\bf ...} |
69 {\large\bf ...} |
65 \end{textblock} |
71 \end{textblock} |
66 |
72 |
67 \end{frame} |
73 \end{frame} |
68 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
74 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
69 |
75 |
|
76 |
|
77 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
78 \begin{frame}[c] |
|
79 \frametitle{Why Scala?} |
|
80 |
|
81 \begin{itemize} |
|
82 \item bla |
|
83 \end{itemize} |
|
84 |
|
85 \end{frame} |
70 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
86 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
87 |
|
88 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
89 \begin{frame}[c] |
|
90 \frametitle{Types} |
|
91 |
|
92 \begin{itemize} |
|
93 \item Base types |
|
94 |
|
95 \begin{center} |
|
96 \begin{tabular}{l} |
|
97 \textcolor{codegreen}{\texttt{Int}}, |
|
98 \textcolor{codegreen}{\texttt{Long}}, |
|
99 \textcolor{codegreen}{\texttt{BigInt}}, |
|
100 \textcolor{codegreen}{\texttt{Float}}, |
|
101 \textcolor{codegreen}{\texttt{Double}}\\ |
|
102 \textcolor{codegreen}{\texttt{String}}, |
|
103 \textcolor{codegreen}{\texttt{Char}} |
|
104 \end{tabular} |
|
105 \end{center} |
|
106 |
|
107 \item Compound types |
|
108 |
|
109 \begin{center} |
|
110 \begin{tabular}{ll} |
|
111 \textcolor{codegreen}{\texttt{List[Int]}} & lists of Int's \\ |
|
112 \textcolor{codegreen}{\texttt{Set[Double]}} & sets of Double's \\ |
|
113 \textcolor{codegreen}{\texttt{(Int, String)}} & Int-String pair\\ |
|
114 \textcolor{codegreen}{\texttt{List[(BigInt, String)]}} & |
|
115 lists of BigInt-String\\ |
|
116 & pairs\\ |
|
117 \textcolor{codegreen}{\texttt{List[List[Int]]}} \\ |
|
118 \end{tabular} |
|
119 \end{center} |
|
120 |
|
121 \end{itemize} |
|
122 |
|
123 \end{frame} |
|
124 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
125 |
71 \end{document} |
126 \end{document} |
72 |
127 |
73 %%% Local Variables: |
128 %%% Local Variables: |
74 %%% mode: latex |
129 %%% mode: latex |
75 %%% TeX-master: t |
130 %%% TeX-master: t |