Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
contiguous Data.Primitive.Contiguous No documentation available.
type
SmallMutableUnliftedArray s a = SmallMutableUnliftedArray_ Unlifted a s acontiguous Data.Primitive.Contiguous No documentation available.
type
SmallUnliftedArray a = SmallUnliftedArray_ Unlifted a acontiguous Data.Primitive.Contiguous A type synonym for a SmallUnliftedArray_ containing lifted values of a particular type. As a general rule, this type synonym should not be used in class instances—use SmallUnliftedArray_ with an equality constraint instead. It also should not be used when defining newtypes or datatypes, unless those will have restrictive type roles regardless—use SmallUnliftedArray_ instead.
-
dbus DBus A method call is a request to run some procedure exported by the remote process. Procedures are identified by an (object_path, interface_name, method_name) tuple.
ReceivedMethodCall :: Serial -> MethodCall -> ReceivedMessagedbus DBus No documentation available.
methodCall :: ObjectPath -> InterfaceName -> MemberName -> MethodCalldbus DBus Construct a new MethodCall for the given object, interface, and method. Use fields such as methodCallDestination and methodCallBody to populate a MethodCall.
>>> :seti -XOverloadedStrings
>>> import Data.Int
>>> :{ (methodCall "/" "org.example.Math" "Add") { methodCallDestination = Just "org.example.Calculator" , methodCallBody = [toVariant (1 :: Int32), toVariant (2 :: Int32)] } :} MethodCall {methodCallPath = ObjectPath "/", methodCallInterface = Just (InterfaceName "org.example.Math"), methodCallMember = MemberName "Add", methodCallSender = Nothing, methodCallDestination = Just (BusName "org.example.Calculator"), methodCallReplyExpected = True, methodCallAutoStart = True, methodCallBody = [Variant 1,Variant 2]}methodCallAutoStart :: MethodCall -> Booldbus DBus Set whether the bus should auto-start the remote Defaults to True.
methodCallBody :: MethodCall -> [Variant]dbus DBus The arguments to the method call. See toVariant. Defaults to [].
methodCallDestination :: MethodCall -> Maybe BusNamedbus DBus The name of the application to send the call to. Most users should set this. If a message with no destination is sent to the bus, the bus will behave as if the destination was set to org.freedesktop.DBus. For peer-peer connections, the destination can be empty because there is only one peer. Defaults to Nothing.
methodCallInterface :: MethodCall -> Maybe InterfaceNamedbus DBus The interface of the method call. Each object may implement any number of interfaces. Each method is part of at least one interface. In certain cases, this may be Nothing, but most users should set it to a value.