fix: doc
This commit is contained in:
parent
74686a149a
commit
caa3136558
1 changed files with 3 additions and 1 deletions
|
|
@ -25,7 +25,9 @@ def Prod.str : Nat × Nat → String :=
|
|||
fun (a, b) => "(" ++ toString a ++ ", " ++ toString b ++ ")"
|
||||
|
||||
structure Point where
|
||||
x y z : Nat
|
||||
x : Nat
|
||||
y : Nat
|
||||
z : Nat
|
||||
|
||||
def Point.addX : Point → Point → Nat :=
|
||||
fun { x := a, .. } { x := b, .. } => a+b
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue