derive-2.6.4: A program and library to derive instances for data types
Data.DeriveDSL
data DSL Source #
Instances
Methods
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DSL -> c DSL #
gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DSL #
toConstr :: DSL -> Constr #
dataTypeOf :: DSL -> DataType #
dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DSL) #
dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DSL) #
gmapT :: (forall b. Data b => b -> b) -> DSL -> DSL #
gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DSL -> r #
gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DSL -> r #
gmapQ :: (forall d. Data d => d -> u) -> DSL -> [u] #
gmapQi :: Int -> (forall d. Data d => d -> u) -> DSL -> u #
gmapM :: Monad m => (forall d. Data d => d -> m d) -> DSL -> m DSL #
gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DSL -> m DSL #
gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DSL -> m DSL #
showsPrec :: Int -> DSL -> ShowS #
show :: DSL -> String #
showList :: [DSL] -> ShowS #
deriveDSL :: [Decl ()] -> Maybe DSL Source #
applyDSL :: DSL -> DataDecl -> Either String [Decl ()] Source #
dynamicDSL :: DSL -> Maybe [Decl ()] Source #