Conditional structures: Difference between revisions

Content added Content deleted
Line 969: Line 969:
===match expression===
===match expression===


<lang ela>
<lang ela>force lst = match lst with
x::xs = x :: force xs
let force lst = match lst with
x::xs = x :: force xs
[] = []</lang>
[] = []</lang>


===is expression===
===is expression===