7 lines
88 B
Text
7 lines
88 B
Text
structure A where
|
|
x : Nat
|
|
y : Nat
|
|
|
|
def f (a : A) : Nat :=
|
|
let {x, y} := a
|
|
x + y
|