Conditional structures: Difference between revisions
Content added Content deleted
(→Guards) |
|||
Line 964: | Line 964: | ||
===Pattern matching=== |
===Pattern matching=== |
||
<lang ela> |
<lang ela>force (x::xs) = x :: force xs |
||
force [] = []</lang> |
|||
===match expression=== |
===match expression=== |