lean4-htt/tests/lean/attrCmd.lean
2020-10-25 09:16:38 -07:00

11 lines
135 B
Text

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