Alternative to isTypeLevPoly

Csaba Hruska csaba.hruska at gmail.com
Wed Sep 14 16:11:56 UTC 2022


Hello GHC Devs,

I've noticed that the `isTypeLevPoly` function has been removed from GHC
since 9.4.
I used it to decide the validity of querying the representation type of
every value in the STG IR.
It was mandatory to prevent GHC panics, because there are a lot of partial
functions in GHC.
Is there an alternative to `isTypeLevPoly` in GHC 9.4?

Best regards,
Csaba Hruska
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20220914/b8f25d44/attachment.html>


More information about the ghc-devs mailing list