Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/kernel-strlit-bytes
/
.
/
tests
/
compile
/
uset.lean
blob: d83389f50707dff25edc643938da34013db4fa9d [
file
] [
edit
]
structure
Point
where
x
:
USize
y
:
UInt32
@[
noinline
]
def
Point
.
right
(
p
:
Point
)
:
Point
:=
{
p
with
x
:=
p
.
x
+
1
}
def
main
:
IO
Unit
:=
IO
.
println
(
Point
.
right
⟨
0
,
0
⟩).
x