You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

8 lines
233 B

  1. \ifger{Wir benutzen}{We use} \hinline{where} \ifger{um eine Hilfsfunktion zu definieren:}{to define a helper function:}
  2. \begin{haskellcode}
  3. f :: Int -> Int
  4. f x = x + (y 2)
  5. where
  6. y :: Int -> Int
  7. y p = x + p
  8. \end{haskellcode}