lean4-htt/tests/lean/macroSwizzle.lean

6 lines
125 B
Text

notation "swizzle" a:max b => b + a
-- should *not* produce a negative span
#check swizzle "s" true
#check "x" |> Nat.succ