-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Fixed versions of instances reification functions -- -- Provides fixed versions of reifyInstances and isInstance -- as per the following ghc issue: -- https://ghc.haskell.org/trac/ghc/ticket/7066. @package th-instance-reification @version 0.1.2 -- | Fixed versions of reifyInstances and isInstance as per -- the following ghc issue: -- https://ghc.haskell.org/trac/ghc/ticket/7066. module THInstanceReification -- | Same as reifyInstances, but also checks the constraints. reifyProperInstances :: Name -> [Type] -> Q [InstanceDec] -- | Same as isInstance, but also checks the constraints. isProperInstance :: Name -> [Type] -> Q Bool -- | Analyze the constraints of the provided instance dec to be satisfied -- by the provided types. -- -- Note that this function does not analyze the equality constraints -- (F a ~ Bool). It simply considers them to be true. typesSatisfyDecConstraints :: [Type] -> InstanceDec -> Q Bool