fix: remove dot notation on MyNat.succ (#119)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user