How about making the `as` optional if you just want to shadow the variable, plus automatic dereferencing? proc traverse(n: ref Node) = case n of BinaryOpr: traverse n.a traverse n.b of UnaryOpr: traverse n.a of Variable: echo n of Value: counter += n Run
- Sum types, 2024 variant Araq
- Sum types, 2024 variant FernandoTorresG
- Sum types, 2024 variant Araq
- Sum types, 2024 variant ASVI
- Sum types, 2024 variant mildred
- Sum types, 2024 variant Araq
- Sum types, 2024 variant treeform
- Sum types, 2024 variant Araq
- Sum types, 2024 variant treeform
- Sum types, 2024 variant didlybom
- Sum types, 2024 variant xigoi
- Sum types, 2024 variant blackmius
- Sum types, 2024 variant ElegantBeef
- Sum types, 2024 variant blackmius
- Sum types, 2024 variant ElegantBeef
- Sum types, 2024 variant Araq
- Sum types, 2024 variant bajith
- Sum types, 2024 variant Araq
- Sum types, 2024 variant bajith
- Sum types, 2024 variant bajith
- Sum types, 2024 variant TKD