make progress on list deconstruction with IR

This commit is contained in:
Kasey White
2022-11-26 22:42:50 -05:00
committed by Lucas
parent 2a00b896fc
commit abe29a3883
6 changed files with 1106 additions and 198 deletions

View File

@@ -49,8 +49,9 @@ pub type Datum {
}
pub fn spend(datum: Datum, _rdmr: Nil, _ctx: Nil) -> Bool {
when datum is {
Sell -> True
Buy -> False
}
let x = [[[2, 9], [7]], [[4]], [[6]]]
let [[[a, g], d], b, ..] = x
True
}