derive-2.5.24: A program and library to derive instances for data types

Safe HaskellNone
LanguageHaskell98

Data.Derive.DSL.HSE

Documentation

showOut :: Pretty a => [a] -> String Source

type Out = [Decl] Source

data Output Source

Instances

Eq Output Source 

Methods

(==) :: Output -> Output -> Bool

(/=) :: Output -> Output -> Bool

Data Output Source 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Output -> c Output

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Output

toConstr :: Output -> Constr

dataTypeOf :: Output -> DataType

dataCast1 :: Typeable (TYPE Lifted -> TYPE Lifted) t => (forall d. Data d => c (t d)) -> Maybe (c Output)

dataCast2 :: Typeable (TYPE Lifted -> TYPE Lifted -> TYPE Lifted) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Output)

gmapT :: (forall b. Data b => b -> b) -> Output -> Output

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Output -> r

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Output -> r

gmapQ :: (forall d. Data d => d -> u) -> Output -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Output -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Output -> m Output

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Output -> m Output

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Output -> m Output

Show Output Source 

toOutput :: Data a => a -> Output Source

coerce :: (?callStack :: CallStack, Typeable (TYPE Lifted) a1, Typeable (TYPE Lifted) a) => a1 -> a Source

readCon :: (?callStack :: CallStack) -> DataType -> [Char] -> Constr Source

out :: Data a => a -> Output Source

fromState :: State a x -> x Source