Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/Array.mapIdx
/
.
/
tests
/
lean
/
243.lean
blob: d93894e75274c4a3e26c02ebd235ec947141ef38 [
file
] [
edit
]
def
f
:
(α
:
Type
)
×
α
→
Nat
|
⟨
Bool
,
true
⟩
=>
1
|
_
=>
2
namespace
Foo
inductive A
where
|
a
|
b
open A
(
a b
)
def
g
:
(α
:
Type
)
×
α
→
Nat
|
⟨
A
,
a
⟩
=>
1
|
_
=>
2
end
Foo