
I've done a quick grep for InstanceD over the stackage-nightly-subset of Hackage:
Wouldn't we also need to check for the instanceD function from Language.Haskell.TH.Lib as well? I know several of my packages use that exclusively over the InstanceD constructor, and I imagine others do as well. Ryan S.

I left the "instanceD" functions as is, and added a new function
`instanceWithOverlapD` to avoid that problem:
instanceD :: CxtQ -> TypeQ -> [DecQ] -> DecQ
instanceWithOverlapD :: Maybe Overlap -> CxtQ -> TypeQ -> [DecQ] -> DecQ
The patch is here btw:
https://phabricator.haskell.org/D2118
On Fri, Apr 15, 2016 at 7:14 AM, Ryan Scott
I've done a quick grep for InstanceD over the stackage-nightly-subset of Hackage:
Wouldn't we also need to check for the instanceD function from Language.Haskell.TH.Lib as well? I know several of my packages use that exclusively over the InstanceD constructor, and I imagine others do as well.
Ryan S. _______________________________________________ Libraries mailing list Libraries@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries

Ah, that sounds like a good way to handle it. Thanks for the quick response!
Ryan S.
On Fri, Apr 15, 2016 at 11:42 AM, Iavor Diatchki
I left the "instanceD" functions as is, and added a new function `instanceWithOverlapD` to avoid that problem:
instanceD :: CxtQ -> TypeQ -> [DecQ] -> DecQ instanceWithOverlapD :: Maybe Overlap -> CxtQ -> TypeQ -> [DecQ] -> DecQ
The patch is here btw:
https://phabricator.haskell.org/D2118
On Fri, Apr 15, 2016 at 7:14 AM, Ryan Scott
wrote: I've done a quick grep for InstanceD over the stackage-nightly-subset of Hackage:
Wouldn't we also need to check for the instanceD function from Language.Haskell.TH.Lib as well? I know several of my packages use that exclusively over the InstanceD constructor, and I imagine others do as well.
Ryan S. _______________________________________________ Libraries mailing list Libraries@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
participants (2)
-
Iavor Diatchki
-
Ryan Scott