Skip to content

Commit bb4d6c1

Browse files
committed
fix(Foundations): add noWs guard to well-formed postfix notation
1 parent f10c049 commit bb4d6c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Cslib/Foundations/Syntax/HasWellFormed.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ class HasWellFormed (α : Type u) where
2020
wf (x : α) : Prop
2121

2222
/-- Notation for well-formedness. -/
23-
notation x:max "✓" => HasWellFormed.wf x
23+
macro x:term:max noWs "✓" : term => `(HasWellFormed.wf $x)
2424

2525
end Cslib

0 commit comments

Comments
 (0)