blob: e857b8695c6e731fc2d659b19fef646abb9b4e20 [file]
inductive Vec (α : Type u) : Nat → Type u where
| nil : Vec α 0
| cons : α → {n : Nat} → Vec α n → Vec α (n+1)
inductive Expr where
| app2 (f : String) (args : Vec Expr 2)
| app3 (f : String) (args : Vec Expr 3)
#print Expr.app2.sizeOf_spec
#print Expr.app3.sizeOf_spec