formatting-6.3.2: Combinator-based type-safe formatting (like printf() or FORMAT)

Copyright(c) 2011 MailRank Inc.
LicenseBSD-style
Maintainerbos@serpentine.com
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell98

Formatting.Buildable

Description

Types that can be rendered to a Builder.

Synopsis

Documentation

class Buildable p where Source #

The class of types that can be rendered to a Builder.

Minimal complete definition

build

Methods

build :: p -> Builder Source #

Instances

Buildable Bool Source # 

Methods

build :: Bool -> Builder Source #

Buildable Char Source # 

Methods

build :: Char -> Builder Source #

Buildable Double Source # 

Methods

build :: Double -> Builder Source #

Buildable Float Source # 

Methods

build :: Float -> Builder Source #

Buildable Int Source # 

Methods

build :: Int -> Builder Source #

Buildable Int8 Source # 

Methods

build :: Int8 -> Builder Source #

Buildable Int16 Source # 

Methods

build :: Int16 -> Builder Source #

Buildable Int32 Source # 

Methods

build :: Int32 -> Builder Source #

Buildable Int64 Source # 

Methods

build :: Int64 -> Builder Source #

Buildable Integer Source # 
Buildable Word Source # 

Methods

build :: Word -> Builder Source #

Buildable Word8 Source # 

Methods

build :: Word8 -> Builder Source #

Buildable Word16 Source # 

Methods

build :: Word16 -> Builder Source #

Buildable Word32 Source # 

Methods

build :: Word32 -> Builder Source #

Buildable Word64 Source # 

Methods

build :: Word64 -> Builder Source #

Buildable Void Source # 

Methods

build :: Void -> Builder Source #

Buildable WordPtr Source # 
Buildable IntPtr Source # 

Methods

build :: IntPtr -> Builder Source #

Buildable Builder Source # 
Buildable Text Source # 

Methods

build :: Text -> Builder Source #

Buildable Text Source # 

Methods

build :: Text -> Builder Source #

Buildable ZonedTime Source # 
Buildable LocalTime Source # 
Buildable TimeOfDay Source # 
Buildable TimeZone Source # 
Buildable UniversalTime Source # 
Buildable UTCTime Source # 
Buildable NominalDiffTime Source # 
Buildable DiffTime Source # 
Buildable Day Source # 

Methods

build :: Day -> Builder Source #

Buildable [Char] Source # 

Methods

build :: [Char] -> Builder Source #

Buildable a => Buildable (Maybe a) Source # 

Methods

build :: Maybe a -> Builder Source #

(Integral a, Buildable a) => Buildable (Ratio a) Source # 

Methods

build :: Ratio a -> Builder Source #

Buildable (Ptr a) Source # 

Methods

build :: Ptr a -> Builder Source #

HasResolution a => Buildable (Fixed a) Source # 

Methods

build :: Fixed a -> Builder Source #