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

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

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.

Methods

build :: p -> Builder Source #

Instances
Buildable Bool Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Bool -> Builder Source #

Buildable Char Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Char -> Builder Source #

Buildable Double Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Double -> Builder Source #

Buildable Float Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Float -> Builder Source #

Buildable Int Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Int -> Builder Source #

Buildable Int8 Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Int8 -> Builder Source #

Buildable Int16 Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Int16 -> Builder Source #

Buildable Int32 Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Int32 -> Builder Source #

Buildable Int64 Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Int64 -> Builder Source #

Buildable Integer Source # 
Instance details

Defined in Formatting.Buildable

Buildable Word Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Word -> Builder Source #

Buildable Word8 Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Word8 -> Builder Source #

Buildable Word16 Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Word16 -> Builder Source #

Buildable Word32 Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Word32 -> Builder Source #

Buildable Word64 Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Word64 -> Builder Source #

Buildable Void Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Void -> Builder Source #

Buildable WordPtr Source # 
Instance details

Defined in Formatting.Buildable

Buildable IntPtr Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: IntPtr -> Builder Source #

Buildable Builder Source # 
Instance details

Defined in Formatting.Buildable

Buildable Text Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Text -> Builder Source #

Buildable Text Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Text -> Builder Source #

Buildable ZonedTime Source # 
Instance details

Defined in Formatting.Buildable

Buildable LocalTime Source # 
Instance details

Defined in Formatting.Buildable

Buildable TimeOfDay Source # 
Instance details

Defined in Formatting.Buildable

Buildable TimeZone Source # 
Instance details

Defined in Formatting.Buildable

Buildable UniversalTime Source # 
Instance details

Defined in Formatting.Buildable

Buildable UTCTime Source # 
Instance details

Defined in Formatting.Buildable

Buildable NominalDiffTime Source # 
Instance details

Defined in Formatting.Buildable

Buildable DiffTime Source # 
Instance details

Defined in Formatting.Buildable

Buildable Day Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Day -> Builder Source #

Buildable [Char] Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: [Char] -> Builder Source #

Buildable a => Buildable [a] Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: [a] -> Builder Source #

Buildable a => Buildable (Maybe a) Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Maybe a -> Builder Source #

Buildable a => Buildable (Ratio a) Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Ratio a -> Builder Source #

Buildable (Ptr a) Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Ptr a -> Builder Source #

HasResolution a => Buildable (Fixed a) Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Fixed a -> Builder Source #

Show a => Buildable (Shown a) Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Shown a -> Builder Source #

Integral a => Buildable (Hex a) Source # 
Instance details

Defined in Formatting.Buildable

Methods

build :: Hex a -> Builder Source #