Zulip Chat Archive
Stream: mathlib4
Topic: scope of local notations
Joël Riou (Jun 18 2023 at 11:43):
In !4#5224 AlgebraicGeometry/ProjectiveSpectrum/StructureSheaf
there is a notation which should be local, but which just does not work at all when I write local notation...
.
Matthew Ballard (Jul 07 2023 at 10:53):
Explained clearly here https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/no.20macro.20or.20.60.5Bquot_precheck.5D.60.20instance.20for.20syntax.20kind/near/373071387
Kyle Miller (Jul 07 2023 at 11:14):
@Joël Riou @Matthew Ballard #5758 fixes the notation so it pretty prints.
The notation
command can't handle local variable
variables, but notation3
can handle them (with the same limitation as notation
of not being able to handle dot notation).
Last updated: Dec 20 2023 at 11:08 UTC