diff --git a/VL2.tex b/VL2.tex index 12f8b69..c828c62 100644 --- a/VL2.tex +++ b/VL2.tex @@ -141,6 +141,7 @@ We use \code{where} to define a helper function: f :: Int -> Int f x = x + (y 2) where + y :: Int -> Int y p = x + p \end{haskellcode} \end{frame}