Add list comprehension match to test case
This commit is contained in:
parent
d019e44924
commit
f7abaf07fa
@ -11,3 +11,5 @@ contract LetPatterns =
|
|||||||
let {x = i, y = j} = r
|
let {x = i, y = j} = r
|
||||||
x + a + b + n + i + j
|
x + a + b + n + i + j
|
||||||
|
|
||||||
|
entrypoint lc(xs : list(option(int))) : list(int) =
|
||||||
|
[ x | Some(x) <- xs ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user