/usr/share/doc/libghc-th-extras-doc/html/th-extras.txt is in libghc-th-extras-doc 0.0.0.2-7build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | -- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | A grab bag of functions for use with Template Haskell
--
-- A grab bag of functions for use with Template Haskell.
--
-- This is basically the place I put all my ugly CPP hacks to support the
-- ever-changing interface of the template haskell system by providing
-- high-level operations and making sure they work on as many versions of
-- Template Haskell as I can.
@package th-extras
@version 0.0.0.2
module Language.Haskell.TH.Extras
intIs64 :: Bool
replace :: (a -> Maybe a) -> (a -> a)
composeExprs :: [ExpQ] -> ExpQ
nameOfCon :: Con -> Name
-- | WARNING: discards binders in GADTs and existentially-quantified
-- constructors
argTypesOfCon :: Con -> [Type]
nameOfBinder :: TyVarBndr -> Name
varsBoundInCon :: Con -> [TyVarBndr]
namesBoundInPat :: Pat -> [Name]
namesBoundInDec :: Dec -> [Name]
genericalizeName :: Name -> Name
genericalizeDecs :: [Dec] -> [Dec]
headOfType :: Type -> Name
occursInType :: Name -> Type -> Bool
|