Content deleted Content added
No edit summary |
|||
Line 43:
-- let-expressions
let isEven n = n `mod` 2 == 0 in
filter isEven numbers
-- case-expression
case numbers of
{ hd : tl -> if hd `mod` 2 == 0 then hd :
; [] -> [] }
-- anonymous functions
</source>
== External links ==
|