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

DBus.Generation

Synopsis

Documentation

mkTupE :: [Exp] -> Exp #

Compatibility helper to create (total) tuple expressions

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

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

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

defaultGetDictType :: Type -> Type -> Type #

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

newNameDef :: String -> Q Name #

addTypeArg :: Type -> Type -> Type #

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

unitIOType :: Type #

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

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

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

makeToVariantApp :: Name -> Exp #

makeFromVariantApp :: Name -> Exp #

makeJustPattern :: Name -> Pat #

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

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

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

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

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