Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
HEAD
/
.
/
tests
/
elab
/
2299.lean
blob: 9a6c372bfc83ca0547ea3c6b8970dc266f048465 [
file
]
class
Abs
(α
:
Type
_
)
where
abs
:
α
→
α
macro
:
max atomic
(
"|"
noWs
)
a
:
term noWs
"|"
:
term
=>
`(Abs.abs $a)
-- check that `
|-
` is not parsed as a single token.
example [Abs α] [Neg α] (n : α) : |-n| = |-n| := rfl