Copyright | (c) 2011,2012,2014 Ian-Woo Kim |
---|---|
License | BSD3 |
Maintainer | Ian-Woo Kim <ianwookim@gmail.com> |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell98 |
- data PDFData = PDFData {}
- data GHoodle cntnr pg = GHoodle {
- ghoodle_id :: ByteString
- ghoodle_ttl :: ByteString
- ghoodle_revisions :: [Revision]
- ghoodle_embeddedpdf :: Maybe PDFData
- ghoodle_embeddedtext :: Maybe Text
- ghoodle_pgs :: cntnr pg
- data GPage bkg cntnr lyr = GPage {
- gpage_dim :: Dimension
- gpage_bkg :: bkg
- gpage_lyrs :: cntnr lyr
- data GLayer buf cntnr itm = GLayer {
- glayer_buf :: buf
- glayer_itms :: cntnr itm
- ghoodleID :: Simple Lens (GHoodle cntnr pg) ByteString
- gtitle :: Simple Lens (GHoodle cntnr pg) ByteString
- grevisions :: Simple Lens (GHoodle cntnr pg) [Revision]
- gembeddedpdf :: Simple Lens (GHoodle cntnr pg) (Maybe PDFData)
- gembeddedtext :: Simple Lens (GHoodle cntnr pg) (Maybe Text)
- gpages :: Simple Lens (GHoodle cntnr pg) (cntnr pg)
- gdimension :: Simple Lens (GPage bkg cntnr pg) Dimension
- gbackground :: Simple Lens (GPage bkg cntnr lyr) bkg
- glayers :: Simple Lens (GPage bkg cntnr lyr) (cntnr lyr)
- gitems :: Simple Lens (GLayer buf cntnr itm) (cntnr itm)
- gbuffer :: Simple Lens (GLayer buf cntnr itm) buf
- class Foldable s => Listable s where
- fromList :: [a] -> s a
- emptyGHoodle :: Listable m => IO (GHoodle m a)
- emptyGPage :: Listable cntnr => Dimension -> bkg -> GPage bkg cntnr a
Documentation
PDFData | |
|
Generic Hoodle data having generic pages
GHoodle | |
|
data GPage bkg cntnr lyr Source
Generic page data having dimension, generic background and generic layers
GPage | |
|
data GLayer buf cntnr itm Source
Generic buffered layer having generic items
GLayer | |
|
gbackground :: Simple Lens (GPage bkg cntnr lyr) bkg Source
emptyGHoodle :: Listable m => IO (GHoodle m a) Source
emptyGPage :: Listable cntnr => Dimension -> bkg -> GPage bkg cntnr a Source