Copyright | (C) 2015 Flowbox |
---|---|
License | Apache-2.0 |
Maintainer | Wojciech Daniło <wojciech.danilo@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
Formatter | |
|
Show (Formatter a) | |
(~) * a b => FormatterBuilder (Formatter a) b |
class FormatterBuilder a b where Source
buildFormatter :: a -> Formatter b Source
FormatterBuilder String a | |
(PPrint (DataOf seg), Lookup seg (Log a)) => FormatterBuilder seg a | |
FormatterBuilder Doc a | |
(~) * a b => FormatterBuilder (Formatter a) b |
(<:>) :: (FormatterBuilder a c, FormatterBuilder b c) => a -> b -> Formatter c Source
concatFormatters :: Formatter a -> Formatter a -> Formatter a Source
defaultFormatter :: (LookupDataSet Msg c, LookupDataSet Lvl c) => Formatter c Source
defaultTimeFormatter :: (LookupDataSet Time c, LookupDataSet Msg c, LookupDataSet Lvl c) => Formatter c Source
defaultFormatterTH :: (LookupDataSet Msg c, LookupDataSet Lvl c, LookupDataSet Loc c) => Formatter c Source
colorLvlFormatter :: LookupDataSet Lvl a => Formatter a -> Formatter a Source