Safe Haskell | None |
---|---|
Language | Haskell2010 |
Types common among reports.
Synopsis
- data TimelineParams = TimelineParams {
- _tpColorSalt :: !Int
- _tpLegend :: !Bool
- _tpTopDay :: !Int
- _tpColumnWidth :: !Double
- _tpColumnHeight :: !Double
- _tpBackground :: !(Colour Double)
- tpColorSalt :: Lens' TimelineParams Int
- tpLegend :: Lens' TimelineParams Bool
- tpTopDay :: Lens' TimelineParams Int
- tpColumnWidth :: Lens' TimelineParams Double
- tpColumnHeight :: Lens' TimelineParams Double
- tpBackground :: Lens' TimelineParams (Colour Double)
- newtype TimelineOutput = TimelineOutput (Diagram B)
- data SummaryParams = SummaryParams {
- spTemplate :: !Text
- newtype SummaryOutput = SummaryOutput Text
- data BlockParams = BlockParams {
- _bpMaxLength :: Int
- _bpUnicode :: Bool
- bpMaxLength :: Lens' BlockParams Int
- bpUnicode :: Lens' BlockParams Bool
- newtype BlockOutput = BlockOutput Text
Documentation
data TimelineParams Source #
TimelineParams | |
|
Instances
Show TimelineParams Source # | |
Defined in OrgStat.Outputs.Types showsPrec :: Int -> TimelineParams -> ShowS # show :: TimelineParams -> String # showList :: [TimelineParams] -> ShowS # | |
Semigroup TimelineParams Source # | |
Defined in OrgStat.Outputs.Types (<>) :: TimelineParams -> TimelineParams -> TimelineParams # sconcat :: NonEmpty TimelineParams -> TimelineParams # stimes :: Integral b => b -> TimelineParams -> TimelineParams # | |
FromJSON TimelineParams # | |
Defined in OrgStat.Config parseJSON :: Value -> Parser TimelineParams # parseJSONList :: Value -> Parser [TimelineParams] # | |
Default TimelineParams Source # | |
Defined in OrgStat.Outputs.Types def :: TimelineParams # |
newtype TimelineOutput Source #
SVG timeline image.
Instances
ReportOutput TimelineOutput Source # | |
Defined in OrgStat.Outputs.Class writeReport :: MonadIO m => FilePath -> TimelineOutput -> m () Source # |
data SummaryParams Source #
Parameters of the summary output
SummaryParams | |
|
Instances
Show SummaryParams Source # | |
Defined in OrgStat.Outputs.Types showsPrec :: Int -> SummaryParams -> ShowS # show :: SummaryParams -> String # showList :: [SummaryParams] -> ShowS # |
newtype SummaryOutput Source #
Some text (supposed to be single line or something).
Instances
ReportOutput SummaryOutput Source # | |
Defined in OrgStat.Outputs.Class writeReport :: MonadIO m => FilePath -> SummaryOutput -> m () Source # |
data BlockParams Source #
Parameters for block output. Stub (for now).
BlockParams | |
|
Instances
Show BlockParams Source # | |
Defined in OrgStat.Outputs.Types showsPrec :: Int -> BlockParams -> ShowS # show :: BlockParams -> String # showList :: [BlockParams] -> ShowS # | |
Default BlockParams Source # | |
Defined in OrgStat.Outputs.Types def :: BlockParams # |
newtype BlockOutput Source #
Output of block type is text file, basically.
Instances
ReportOutput BlockOutput Source # | |
Defined in OrgStat.Outputs.Class writeReport :: MonadIO m => FilePath -> BlockOutput -> m () Source # |