From 8c9a9d41257e3ab11f0e6b2cacb806d2e374c0fa Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 19 Apr 2015 19:51:28 +0200 Subject: [PATCH] Add type signature for inlined function --- VL2.tex | 1 + 1 file changed, 1 insertion(+) 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}