diff --git a/haskell-cs.tex b/haskell-cs.tex index f4da1f5..e3489b0 100644 --- a/haskell-cs.tex +++ b/haskell-cs.tex @@ -49,15 +49,15 @@ \section{Structure} \begin{verbatim} - func :: type -> type - func x = expr + function :: type -> type + function x = expr - fung :: type -> [type] -> type - fung x xs = expr + function2 :: type -> [type] -> type + function2 x xs = expr - main = do code - code - ... + main = do + action + ... \end{verbatim}