Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Anchor = Anchor {
- aRuns :: [Text]
- aFilters :: ([FilterName], [ChainFilter])
- aSlots :: Maybe (DataDomain I SlotNo)
- aBlocks :: Maybe (DataDomain I BlockNo)
- aVersion :: LocliVersion
- aWhen :: UTCTime
- data RenderConfig = RenderConfig {}
- data RenderFormat
- data CDF2Aspect
- formatInt :: Integral a => Width -> a -> Text
- formatDouble :: Width -> Double -> Text
- renderSummary :: forall f a. (a ~ Summary f, TimelineFields a, ToJSON a) => RenderConfig -> Anchor -> (Field ISelect I a -> Bool) -> a -> [Text]
- mkRenderConfigDef :: RenderFormat -> RenderConfig
- tagsAnchor :: [Text] -> UTCTime -> ([FilterName], [ChainFilter]) -> Maybe (DataDomain I SlotNo) -> Maybe (DataDomain I BlockNo) -> Anchor
- renderAnchor :: RenderConfig -> Anchor -> Text
- renderAnchorRuns :: Anchor -> Text
- renderAnchorFiltersAndDomains :: Anchor -> Text
- renderAnchorDateVer :: Anchor -> Text
- renderAnchorDomains :: Anchor -> Text
- renderAnchorDate :: Anchor -> Text
- renderAnchorOrgProperties :: RenderConfig -> Anchor -> [(Text, Text)]
- justifyHead :: Int -> Text -> Text
- justifyData :: Int -> Text -> Text
- justifyCentile :: Int -> Text -> Text
- justifyProp :: Int -> Text -> Text
- renderCentiles :: Int -> [Centile] -> [Text]
- renderScalarLim :: Maybe Int -> a -> Field ISelect I a -> Text
- handleStrOverflowFloat :: Int -> Text -> Text
- renderDiffTime :: NominalDiffTime -> Text
- renderFieldCentiles :: a p -> (forall v. Divisible v => CDF p v -> [[v]]) -> Field DSelect p a -> [[Text]]
- formatDiffTime :: Width -> NominalDiffTime -> Text
- renderProfilingData :: RenderConfig -> Anchor -> (ProfileEntry (CDF I) -> Bool) -> ProfilingData (CDF I) -> [Text]
- renderTimelineWithClass :: forall (a :: Type). TimelineFields a => (Field ISelect I a -> Bool) -> RenderConfig -> Anchor -> [TimelineComments a] -> [a] -> [Text]
- renderTimeline :: forall a b. [Field ISelect I a] -> (a -> b -> [Text]) -> RenderConfig -> Anchor -> [b] -> [a] -> [Text]
- mapRenderCDF :: forall p a. CDFFields a p => (Field DSelect p a -> Bool) -> Maybe [Centile] -> (forall c. Divisible c => p c -> [c]) -> a p -> [[Text]]
- parseCDF2Aspect :: Parser CDF2Aspect
- modeFilename :: TextOutputFile -> Text -> RenderFormat -> TextOutputFile
- renderAnalysisCDFs :: forall a p. (CDFFields a p, KnownCDF p, ToJSON (a p)) => Anchor -> (Field DSelect p a -> Bool) -> CDF2Aspect -> Maybe [Centile] -> RenderConfig -> a p -> [(Text, [Text])]
- centerLim :: (a -> Text) -> (Int -> Text -> Text) -> Width -> a -> Text
- handleStrOverflowTrimMark :: (Text -> Bool) -> Int -> Text -> Text
- handleStrOverflowTrim :: Int -> Text -> Text
Documentation
Explain the poor human a little bit of what was going on:
Anchor | |
|
data RenderConfig Source #
Instances
Show RenderConfig Source # | |
Defined in Cardano.Render |
data RenderFormat Source #
Instances
Bounded RenderFormat Source # | |
Defined in Cardano.Render | |
Enum RenderFormat Source # | |
Defined in Cardano.Render succ :: RenderFormat -> RenderFormat Source # pred :: RenderFormat -> RenderFormat Source # toEnum :: Int -> RenderFormat Source # fromEnum :: RenderFormat -> Int Source # enumFrom :: RenderFormat -> [RenderFormat] Source # enumFromThen :: RenderFormat -> RenderFormat -> [RenderFormat] Source # enumFromTo :: RenderFormat -> RenderFormat -> [RenderFormat] Source # enumFromThenTo :: RenderFormat -> RenderFormat -> RenderFormat -> [RenderFormat] Source # | |
Show RenderFormat Source # | |
Defined in Cardano.Render | |
Eq RenderFormat Source # | |
Defined in Cardano.Render (==) :: RenderFormat -> RenderFormat -> Bool Source # (/=) :: RenderFormat -> RenderFormat -> Bool Source # |
data CDF2Aspect Source #
When rendering a CDF-of-CDFs _and_ subsetting the data, how to subset:
OfOverallDataset | Overall dataset statistical summary. |
OfInterCDF | Inter-sample (i.e. inter-CDF) stats. |
Instances
Bounded CDF2Aspect Source # | |
Defined in Cardano.Render | |
Enum CDF2Aspect Source # | |
Defined in Cardano.Render succ :: CDF2Aspect -> CDF2Aspect Source # pred :: CDF2Aspect -> CDF2Aspect Source # toEnum :: Int -> CDF2Aspect Source # fromEnum :: CDF2Aspect -> Int Source # enumFrom :: CDF2Aspect -> [CDF2Aspect] Source # enumFromThen :: CDF2Aspect -> CDF2Aspect -> [CDF2Aspect] Source # enumFromTo :: CDF2Aspect -> CDF2Aspect -> [CDF2Aspect] Source # enumFromThenTo :: CDF2Aspect -> CDF2Aspect -> CDF2Aspect -> [CDF2Aspect] Source # | |
Show CDF2Aspect Source # | |
Defined in Cardano.Render |
renderSummary :: forall f a. (a ~ Summary f, TimelineFields a, ToJSON a) => RenderConfig -> Anchor -> (Field ISelect I a -> Bool) -> a -> [Text] Source #
tagsAnchor :: [Text] -> UTCTime -> ([FilterName], [ChainFilter]) -> Maybe (DataDomain I SlotNo) -> Maybe (DataDomain I BlockNo) -> Anchor Source #
renderAnchor :: RenderConfig -> Anchor -> Text Source #
renderAnchorRuns :: Anchor -> Text Source #
renderAnchorDateVer :: Anchor -> Text Source #
renderAnchorDomains :: Anchor -> Text Source #
renderAnchorDate :: Anchor -> Text Source #
renderAnchorOrgProperties :: RenderConfig -> Anchor -> [(Text, Text)] Source #
renderDiffTime :: NominalDiffTime -> Text Source #
renderFieldCentiles :: a p -> (forall v. Divisible v => CDF p v -> [[v]]) -> Field DSelect p a -> [[Text]] Source #
formatDiffTime :: Width -> NominalDiffTime -> Text Source #
renderProfilingData :: RenderConfig -> Anchor -> (ProfileEntry (CDF I) -> Bool) -> ProfilingData (CDF I) -> [Text] Source #
renderTimelineWithClass :: forall (a :: Type). TimelineFields a => (Field ISelect I a -> Bool) -> RenderConfig -> Anchor -> [TimelineComments a] -> [a] -> [Text] Source #
renderTimeline :: forall a b. [Field ISelect I a] -> (a -> b -> [Text]) -> RenderConfig -> Anchor -> [b] -> [a] -> [Text] Source #
mapRenderCDF :: forall p a. CDFFields a p => (Field DSelect p a -> Bool) -> Maybe [Centile] -> (forall c. Divisible c => p c -> [c]) -> a p -> [[Text]] Source #
modeFilename :: TextOutputFile -> Text -> RenderFormat -> TextOutputFile Source #