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

Copyright | (c) 2011 MailRank Inc.
License | BSD-style
Maintainer | bos@serpentine.com
Stability | experimental
Portability | GHC
Safe Haskell | None
Language | Haskell2010

Formatting.Buildable

Description

Types that can be rendered to a `Builder`.

Synopsis

- class Buildable p where
  - build :: p -> Builder

# Documentation

class Buildable p where Source #

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

Methods

build :: p -> Builder Source #

#### Instances

Instances details

Buildable Void Source # |
Instance details Defined in Formatting.Buildable Methods build :: Void -> Builder Source #
Buildable IntPtr Source # |
Instance details Defined in Formatting.Buildable Methods build :: IntPtr -> Builder Source #
Buildable WordPtr Source # |
Instance details Defined in Formatting.Buildable Methods build :: WordPtr -> 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 Int8 Source # |
Instance details Defined in Formatting.Buildable Methods build :: Int8 -> 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 Word8 Source # |
Instance details Defined in Formatting.Buildable Methods build :: Word8 -> Builder Source #
Buildable Text Source # |
Instance details Defined in Formatting.Buildable Methods build :: Text -> Builder Source #
Buildable Builder Source # |
Instance details Defined in Formatting.Buildable Methods build :: Builder -> Builder Source #
Buildable Text Source # |
Instance details Defined in Formatting.Buildable Methods build :: Text -> Builder Source #
Buildable Day Source # |
Instance details Defined in Formatting.Buildable Methods build :: Day -> Builder Source #
Buildable DiffTime Source # |
Instance details Defined in Formatting.Buildable Methods build :: DiffTime -> Builder Source #
Buildable NominalDiffTime Source # |
Instance details Defined in Formatting.Buildable Methods build :: NominalDiffTime -> Builder Source #
Buildable UTCTime Source # |
Instance details Defined in Formatting.Buildable Methods build :: UTCTime -> Builder Source #
Buildable UniversalTime Source # |
Instance details Defined in Formatting.Buildable Methods build :: UniversalTime -> Builder Source #
Buildable LocalTime Source # |
Instance details Defined in Formatting.Buildable Methods build :: LocalTime -> Builder Source #
Buildable TimeOfDay Source # |
Instance details Defined in Formatting.Buildable Methods build :: TimeOfDay -> Builder Source #
Buildable TimeZone Source # |
Instance details Defined in Formatting.Buildable Methods build :: TimeZone -> Builder Source #
Buildable ZonedTime Source # |
Instance details Defined in Formatting.Buildable Methods build :: ZonedTime -> Builder Source #
Buildable Integer Source # |
Instance details Defined in Formatting.Buildable Methods build :: Integer -> Builder Source #
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 Word Source # |
Instance details Defined in Formatting.Buildable Methods build :: Word -> Builder Source #
Integral a => Buildable (Hex a) Source # |
Instance details Defined in Formatting.Buildable Methods build :: Hex a -> Builder Source #
Show a => Buildable (Shown a) Source # |
Instance details Defined in Formatting.Buildable Methods build :: Shown a -> Builder Source #
Buildable (Ptr a) Source # |
Instance details Defined in Formatting.Buildable Methods build :: Ptr a -> Builder Source #
Buildable a => Buildable (Ratio a) Source # |
Instance details Defined in Formatting.Buildable Methods build :: Ratio a -> Builder Source #
Buildable a => Buildable (Maybe a) Source # |
Instance details Defined in Formatting.Buildable Methods build :: Maybe a -> 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 #
HasResolution a => Buildable (Fixed a) Source # |
Instance details Defined in Formatting.Buildable Methods build :: Fixed a -> Builder Source #