lean4-htt/tests
Leonardo de Moura 5adce9fa20 fix: use eta reduction at DiscrTree
@kha @dselsam

Suppose we are trying to retrieve the global instances for
`(Monad (StateM Nat))`.
During retrieval, we reducde `StateM Nat` into `fun x => StateT Nat Id x`
However, the `DiscrTree` contains an entry for `Monad (StateT * *)`.
Thus, we fail to retrieve any instance.
I fixed the particular issue by using eta reduction.
Not sure we will encounter other definitional-equality related problems .
2019-12-03 10:30:53 -08:00
..
bench chore: fix one more benchmark 2019-11-25 12:47:42 +01:00
compiler chore: fix tests 2019-11-26 18:07:13 -08:00
elabissues doc: zmod example 2019-11-18 12:45:53 -08:00
ir chore(tests): fix do syntax in tests 2019-06-30 13:04:34 +02:00
lean fix: use eta reduction at DiscrTree 2019-12-03 10:30:53 -08:00
playground feat: generalize binInsert 2019-11-23 08:20:20 -08:00
plugin chore: fix tests 2019-11-22 08:03:22 -08:00