Conditional structures: Difference between revisions

Line 972:
x::xs = x :: force xs
[] = []</lang>
 
===is expression===
 
<lang ela>
let force lst = if lst is (x::xs) then
x :: force xs
else []</lang>
 
 
=={{header|Factor}}==
Anonymous user