Conditional structures: Difference between revisions

Line 969:
===match expression===
 
<lang ela>force lst = match lst with
x::xs = x :: [] =force []</lang>xs
let force lst = match lst with
x::xs[] = x :: force xs[]</lang>
[] = []</lang>
 
===is expression===
Anonymous user