Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/replace
/
.
/
tests
/
lean
/
matchunit.lean
blob: bfed4ce66f3200c9ae3d5359504882ce21609ac8 [
file
] [
edit
]
def
f
(
a
:
Unit
)
:
Nat
:=
match a
with
|
PUnit
.
unit
=>
10
#print f
def
g
(
a
:
Unit
)
:
Unit
:=
match a
with
|
b@
(
PUnit
.
unit
)
=>
b
#print g