Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Synopsis
- type Annotation a = Monoid a
- class Layout d where
- renderWith :: (Monoid r, Annotation a) => Options a r -> ODoc a -> r
- data Options a r = Options {
- optsPageWidth :: !Int
- optsAnnotate :: a -> String -> r
- groupingBy :: Monoid a => String -> [(Int, Doc a)] -> Doc a
- type Doc = ODoc
- ($$) :: (Layout d, Monoid a, Semigroup (d a)) => d a -> d a -> d a
Documentation
type Annotation a = Monoid a Source #
:: (Monoid r, Annotation a) | |
=> Options a r | rendering options |
-> ODoc a | renderable |
-> r |
Options | |
|