Building dictionary terms in Core?

Ömer Sinan Ağacan omeragacan at gmail.com
Mon Jan 7 06:56:52 UTC 2019


Hi,

In #15646 (recent discussion in Gitlab MR 55) we need dictionary arguments in
Core (in desugarer) to apply to functions like `fromRational :: Fractional a =>
Rational -> a`, but we don't know how to build the dictionary term (`Fractional
a`) in Core. Can anyone who know help us in the MR?

Thanks,

Ömer


More information about the ghc-devs mailing list