Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- mkTupE :: [Exp] -> Exp
- type ClientBusPathR a = ReaderT (Client, BusName, ObjectPath) IO a
- dbusInvoke :: (Client -> BusName -> ObjectPath -> a) -> ClientBusPathR a
- (??) :: Functor f => f (a -> b) -> a -> f b
- (?/?) :: ClientBusPathR (a -> IO b) -> a -> ClientBusPathR b
- data GenerationParams = GenerationParams {}
- defaultGetDictType :: Type -> Type -> Type
- defaultGetTHType :: Type -> Type
- buildGetTHType :: (Type -> Type) -> (Type -> Type -> Type) -> Type -> Type
- newNameDef :: String -> Q Name
- defaultGenerationParams :: GenerationParams
- addTypeArg :: Type -> Type -> Type
- addTypeArgIf :: Bool -> Type -> Type -> Type
- unitIOType :: Type
- addArgIf :: Bool -> a -> [a] -> [a]
- mkFunD :: Name -> [Name] -> Exp -> Dec
- generateClient :: GenerationParams -> Interface -> Q [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
- clientArgumentUnpackingMessage :: String
- clientArgumentUnpackingError :: [Variant] -> MethodError
- generateClientMethod :: GenerationParams -> Method -> Q [Dec]
- generateClientProperty :: GenerationParams -> Property -> Q [Dec]
- generateSignalsFromInterface :: GenerationParams -> Interface -> Q [Dec]
- generateSignals :: GenerationParams -> InterfaceName -> [Signal] -> Q [Dec]
- generateSignal :: GenerationParams -> Signal -> Q [Dec]
- generateFromFilePath :: GenerationParams -> FilePath -> Q [Dec]
Documentation
type ClientBusPathR a = ReaderT (Client, BusName, ObjectPath) IO a Source #
dbusInvoke :: (Client -> BusName -> ObjectPath -> a) -> ClientBusPathR a Source #
(?/?) :: ClientBusPathR (a -> IO b) -> a -> ClientBusPathR b infixl 4 Source #
data GenerationParams Source #
defaultGetTHType :: Type -> Type Source #
unitIOType :: Type Source #
generateClient :: GenerationParams -> Interface -> Q [Dec] Source #
makeToVariantApp :: Name -> Exp Source #
makeFromVariantApp :: Name -> Exp Source #
makeJustPattern :: Name -> Pat Source #
runGetFirst :: [Maybe a] -> Maybe a Source #
generateClientMethod :: GenerationParams -> Method -> Q [Dec] Source #
generateClientProperty :: GenerationParams -> Property -> Q [Dec] Source #
generateSignalsFromInterface :: GenerationParams -> Interface -> Q [Dec] Source #
generateSignals :: GenerationParams -> InterfaceName -> [Signal] -> Q [Dec] Source #
generateSignal :: GenerationParams -> Signal -> Q [Dec] Source #
generateFromFilePath :: GenerationParams -> FilePath -> Q [Dec] Source #