fix: remove dot notation on MyNat.succ (#119)

This commit is contained in:
Kevin Buzzard
2025-09-28 09:40:24 +01:00
committed by GitHub
parent bc07e36688
commit e55da341a6

View File

@@ -6,6 +6,8 @@ inductive MyNat where
| succ : MyNat MyNat
-- deriving BEq, DecidableEq, Inhabited
attribute [pp_nodot] MyNat.succ
@[inherit_doc]
notation (name := MyNatNotation) (priority := 1000000) "" => MyNat
-- Note: as long as we do not import `Mathlib.Init.Data.Nat.Notation` this is fine.