From 5f2ba12f62b5d11a5b8bdb4da025bb6f6cc751a8 Mon Sep 17 00:00:00 2001 From: Rudy Matela Date: Mon, 8 Nov 2021 16:05:20 -0300 Subject: [PATCH] haskell-cs: update structure --- haskell-cs.tex | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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}