Browse Source

Convert "Types, types, types" slide into "How to think haskell?"

This should give a general idea of how to think haskell.
Julian Ospald 4 years ago
parent
commit
ea4f20e724
No account linked to committer's email address
1 changed files with 12 additions and 2 deletions
  1. 12
    2
      VL1.tex

+ 12
- 2
VL1.tex View File

@@ -242,13 +242,23 @@ Let's reiterate. Haskell is:
242 242
 \end{frame}
243 243
 
244 244
 \begin{frame}
245
-\frametitle{Types, types, types}
246
-\begin{itemize}
245
+\frametitle{How to think haskell?}
246
+\begin{itemize}[<+->]
247 247
 \item think in types!
248
+\begin{itemize}[<+->]
248 249
 \item don't be afraid of type errors
249 250
 \item let the type-checker do the work for you (does this function do what I think it does?)
250 251
 \item understand functions just by looking at their type signature?
251 252
 \end{itemize}
253
+\item think abstract!
254
+\begin{itemize}[<+->]
255
+\item don't repeat yourself!
256
+\item "develop a solution space, rather than an individual solution" -- Ralf Hinze
257
+\item "imagine a graph, rather than a single path" -- Ralf Hinze
258
+\item "first solve a more general problem, then extract the interesting bits and pieces by transforming the general program into more specialised ones" -- Ralf Hinze
259
+\end{itemize}
260
+\item solve atomic parts of general problems and combine them into greater solution
261
+\end{itemize}
252 262
 \end{frame}
253 263
 
254 264
 \begin{frame}[fragile]