Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
b8a31ed10eeabaca678ab303ec3f4d7d5a817841
/
.
/
tests
/
lean
/
matchunit.lean
blob: bfed4ce66f3200c9ae3d5359504882ce21609ac8 [
file
]
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