Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
HEAD
/
.
/
tests
/
elab
/
elseCaseArrow.lean
blob: c3c4358109b7b94d8a218b8e5264e6a4a065b7e0 [
file
]
def
f1
(
x
:
Nat
)
(
p
:
Nat
×
Nat
)
:
IO
Unit
:=
do
match x
with
|
0
=>
let
(
y
,
_
)
←
pure p
|
_
=>
pure
()
def
f2
(
x
:
Nat
)
(
p
:
Nat
×
Nat
)
:
IO
Unit
:=
do
let
mut y
:=
0
match x
with
|
0
=>
(
y
,
_
)
←
pure p
|
_
=>
pure
()