|
| MissingH.Printf.Types | | Portability | portable | | Stability | provisional | | Maintainer | jgoerzen@complete.org |
|
|
|
|
|
| Description |
This module is used internally by MissingH.Printf and is not intended
to be used in your programs.
Copyright (c) 2004 John Goerzen, jgoerzen@complete.org
Portions Copyright (c) 2003 Ian Lynagh
|
|
| Synopsis |
|
|
|
| Documentation |
|
| data Value |
| All items to be printed must be expressible as one of these. | | Constructors | | ValueRational Rational | | | ValueString String | | | ValueChar Char | |
| | Instances | |
|
|
| showValue :: Value -> String |
|
| class PFType a where |
| The class to which all items must belong (unless you want to inconvenience
everyone and force them to manually generate Values.
| | | Methods | | | | Instances | |
|
|
| class PFRun a where |
| | Methods | | pfrun :: ([Value] -> String) -> a |
| | | Instances | |
|
|
| class IOPFRun a where |
| | Methods | | iopfrun :: Handle -> ([Value] -> String) -> a |
| | | Instances | |
|
|
| type ConversionFunc = Arg -> [Flag] -> Maybe Width -> Maybe Precision -> String |
|
| data Format |
|
|
| type ArgNum = Integer |
|
| type Arg = Value |
|
| type Width = Integer |
|
| type Precision = Integer |
|
| data Flag |
| Constructors | | AlternateForm | | | ZeroPadded | | | LeftAdjust | | | BlankPlus | | | Plus | | | Thousands | | | AlternativeDigits | |
| | Instances | |
|
|
| xvar :: ArgNum -> String |
|
| yvar :: ArgNum -> String |
|
| nvar :: ArgNum -> String |
|
| Produced by Haddock version 0.6 |