Merge branch 'main' into when-clause-guards

This commit is contained in:
Lucas
2023-01-30 11:40:29 -05:00
committed by GitHub
23 changed files with 2099 additions and 1015 deletions

View File

@@ -0,0 +1,9 @@
fn when_tuple(a: (Int, Int)) -> Int {
when a is {
(a, b) -> a
}
}
pub fn spend(a, b, c) -> Bool {
when_tuple((4, 1)) == 4
}