lean4-htt/tests/lean/attrCmd.lean
2020-10-27 18:29:19 -07:00

11 lines
132 B
Text

def M := StateM Nat
def f1 : M Nat :=
pure 0 -- failed to synthesize `Pure M`
attribute [reducible] M
def f2 : M Nat :=
pure 0