Closed davidgarland closed 4 years ago
Hi, will look into it this week, might be something as easy as importing TyVarBndr from another module or something harder as refactoring existing code for 8.8.x.
Done, should be building now.
Good stuff, thank you :D!
By the way, do I need to include this package in libraries for it to optimize their instances, or is it only necessary to include it in the Main.hs
to have the optimization applied to all modules? (I would assume the latter, but just curious.)
Former, unfortunately - the package looks for identifiers at GHC Core level and rewrites them before they get exported to different modules - will probably spend some time during summer to see if things could be done differently.
Gotcha. Thanks for the info.
As of at least GHC 8.6.5 (perhaps earlier), it seems
TyVarBndr(..)
is no longer a part ofVar
but is perhaps somewhere else instead:Is there any way this could be easily fixed without breaking anything else, or some workaround I could do to have it work as-is?