Copyright | (c) Marcin Mrotek, 2015 |
---|---|
License | BSD-3 |
Maintainer | marcin.jan.mrotek@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Extensions |
|
The DiagramObj
type, together with a corresponding DefaultClass
instance that defines the necessary methods and signals for use by QML.
- newtype DiagramObj a = DiagramObj {
- reload :: ObjRef (DiagramObj ()) -> IO a
Documentation
newtype DiagramObj a Source
The type to which the parts of a diagram are rendered.
The end result of rendering is always a DiagramObj ().
The monoid instance sequences actions on the same argument, with noop as identity.
As DiagramObj is a wrapper over a function to IO, Functor
, Applicative
, Monad
, and MonadIO
instances are defined in an expected way.
DiagramObj | |
|
Monad DiagramObj | |
Functor DiagramObj | |
Applicative DiagramObj | |
MonadIO DiagramObj | |
Monoid a => Monoid (DiagramObj a) | |
DefaultClass (DiagramObj ()) | |
Typeable (* -> *) DiagramObj |