IIUC Jan is working on a ghc branch, not a plugin. But perhaps this ticket
will point in the right direction anyway? HTH.
https://gitlab.haskell.org/ghc/ghc/issues/16639
On Mon, Sep 30, 2019, 01:44 Richard Eisenberg wrote:
> Hi Jan,
>
> The ambiguity check has a simple description. To test if a
Hi Jan,
The ambiguity check has a simple description. To test if a type `ty` is
ambiguous, do this:
```
x :: ty
x = x
```
Iff that type-checks, the type is unambiguous. That's it!
The check does not manufacture a binding `x`, but the implementation runs
through the type-checking process for a