Safe Haskell | None |
---|
Graphics.QML.Marshal
Description
Type classs and instances for marshalling values between Haskell and QML.
- class MarshalIn a where
- mIn :: InMarshaller a
- data InMarshaller a
- class MarshalIn a => MarshalOut a
Documentation
The class MarshalIn
allows QML values to be converted into Haskell
values.
Methods
mIn :: InMarshaller aSource
data InMarshaller a Source
Encapsulates the functionality to needed to implement an instance of
MarshalIn
so that such instances can be defined without access to
implementation details.
class MarshalIn a => MarshalOut a Source
The class MarshalOut
allows Haskell values to be converted into QML
values.
Instances
MarshalOut Double | |
MarshalOut Int | |
MarshalOut String | |
MarshalOut () | |
MarshalOut URI | |
MarshalOut Text | |
(MarshalIn (ObjRef tt), Object tt) => MarshalOut (ObjRef tt) |