| [4, 5, 6] | |
| defInst.lean:8:26-8:32: error(lean.synthInstanceFailed): failed to synthesize instance of type class | |
| BEq Foo | |
| Hint: Adding the command `deriving instance BEq for Foo` may allow Lean to derive the missing instance. | |
| fun x y => sorry : (x y : Foo) → ?m x y | |
| [4, 5, 6] | |
| fun x y => x == y : Foo → Foo → Bool | |
| [("hello", "hello")] | |
| false | |
| true | |
| true | |
| @[instance_reducible] def instMonadM : Monad M := | |
| { map := @instMonadM._aux_1, mapConst := @instMonadM._aux_3, pure := @instMonadM._aux_5, seq := @instMonadM._aux_7, | |
| seqLeft := @instMonadM._aux_9, seqRight := @instMonadM._aux_11, bind := @instMonadM._aux_13 } |