| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
LiveCoding.Gloss.PictureM
Documentation
type PictureT m = ReaderT [Event] (WriterT Picture m) Source #
The monad transformer that captures the effects of gloss, which are reading events and writing pictures.
You can call these effects for example by...
- ...using
askto read the events that occurred, - ...composing a cell with
addPictureto paint a picture.