Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/expose-array-back
/
.
/
tests
/
elab
/
instPatVar.lean
blob: 35592a8e2e570d5314d673c47844ee65f693f989 [
file
] [
edit
]
class
Pretty
(α
:
Type
u
)
where
pretty
:
α
→
Std
.
Format
export
Pretty
(
pretty
)
def
concat
(
xs
:
List
((α
:
Type
u
)
×
Pretty
α
×
α))
:
Std
.
Format
:=
match xs
with
|
[]
=>
""
|
⟨
_
,
_
,
v
⟩
::
xs
=>
pretty v
++
concat xs