MissingH API ManualContentsIndex
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
data Value
= ValueRational Rational
| ValueString String
| ValueChar Char
showValue :: Value -> String
class PFType a where
toValue :: a -> Value
fromValue :: Value -> a
class PFRun a where
pfrun :: ([Value] -> String) -> a
class IOPFRun a where
iopfrun :: Handle -> ([Value] -> String) -> a
type ConversionFunc = Arg -> [Flag] -> Maybe Width -> Maybe Precision -> String
data Format
= Literal String
| Conversion ConversionFunc
| CharCount
type ArgNum = Integer
type Arg = Value
type Width = Integer
type Precision = Integer
data Flag
= AlternateForm
| ZeroPadded
| LeftAdjust
| BlankPlus
| Plus
| Thousands
| AlternativeDigits
xvar :: ArgNum -> String
yvar :: ArgNum -> String
nvar :: ArgNum -> String
Produced by Haddock version 0.6