This commit is contained in:
Shunsuke Shibayama 2022-12-04 12:17:11 +09:00
parent f36d54f51e
commit 48a7adfba7
2 changed files with 7 additions and 5 deletions

View file

@ -0,0 +1,7 @@
f x: [{""}; _] = None
arr = ["aaa"]
for! arr, elem =>
# elem: Never
a = ["", elem] # [{"", "aaa"}; 2]
f a

View file

@ -1,5 +0,0 @@
f x: [Str; _] = None
arr = ["aaa"]
for! arr, elem =>
f ["", elem]