lean4-htt/tests/lean/binopInfoTree.lean
2023-01-16 08:33:58 -08:00

7 lines
221 B
Text

notation a " +' " b => a + b
set_option trace.Elab.info true
-- should contain all macro expansions
#check 1 + 2 + 3
-- should propagate through multiple macro expansions
#check fun (n m l : Nat) => (n + (m +' l) : Int)