dbus-1.2.29: A client library for the D-Bus IPC system.
Safe HaskellSafe-Inferred
LanguageHaskell2010

DBus.Generation

Synopsis

Documentation

mkTupE :: [Exp] -> Exp Source #

Compatibility helper to create (total) tuple expressions

type ClientBusPathR a = ReaderT (Client, BusName, ObjectPath) IO a Source #

(??) :: Functor f => f (a -> b) -> a -> f b infixl 4 Source #

(?/?) :: ClientBusPathR (a -> IO b) -> a -> ClientBusPathR b infixl 4 Source #

defaultGetDictType :: Type -> Type -> Type Source #

buildGetTHType :: (Type -> Type) -> (Type -> Type -> Type) -> Type -> Type Source #

newNameDef :: String -> Q Name Source #

addTypeArg :: Type -> Type -> Type Source #

addTypeArgIf :: Bool -> Type -> Type -> Type Source #

addArgIf :: Bool -> a -> [a] -> [a] Source #

mkFunD :: Name -> [Name] -> Exp -> Dec Source #

maybeName :: a -> Bool -> Maybe a Source #

makeToVariantApp :: Name -> Exp Source #

makeFromVariantApp :: Name -> Exp Source #

makeJustPattern :: Name -> Pat Source #

mapOrHead :: (Num a, Eq a) => a -> (t -> b) -> [t] -> ([b] -> b) -> b Source #

runGetFirst :: [Maybe a] -> Maybe a Source #

buildGeneratedSignature :: Bool -> Bool -> Type -> Type Source #

getSetMethodCallParams :: Name -> Maybe Name -> Maybe Name -> ExpQ -> ExpQ Source #

generateFromFilePath :: GenerationParams -> FilePath -> Q [Dec] Source #