Add type signature for inlined function

This commit is contained in:
Julian Ospald 2015-04-19 19:51:28 +02:00
parent cd8f11e259
commit 8c9a9d4125
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
1 changed files with 1 additions and 0 deletions

View File

@ -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}