| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell98 | 
Text.PrettyPrint.Compact.Core
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 #
Arguments
| :: (Monoid r, Annotation a) | |
| => Options a r | rendering options  | 
| -> ODoc a | renderable  | 
| -> r | 
Constructors
| Options | |
Fields 
  | |