Lean4
/-- We introduce notation `↗f` for `f` interpreted as a function `ℕ → ℂ`.
Let `R` be a ring with a coercion to `ℂ`. Then we can write `↗χ` when `χ : DirichletCharacter R`
or `↗f` when `f : ArithmeticFunction R` or simply `f : N → R` with a coercion from `ℕ` to `N`
as an argument to `LSeries`, `LSeriesHasSum`, `LSeriesSummable` etc. -/
@[scoped term_parser 1000]
public meta def «term↗_» : Lean.ParserDescr✝ :=
ParserDescr.node✝ `LSeries.notation.«term↗_» 1024
(ParserDescr.binary✝ `andthen (ParserDescr.symbol✝ "↗") (ParserDescr.cat✝ `term 1024))