-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Everything Data.Text related in one package
--
-- Everything Data.Text-related in one package.
--
-- Note: this package follows PVP.
@package text-all
@version 0.4.2
-- | Note that thanks to a restrictive lower bound on text, you
-- can be sure that the following things will be present in the
-- Data.Text reexport:
--
--
-- - The takeWhileEnd function.
-- - An instance for Semigroup Text.
-- - An instance for Binary Text.
-- - An instance for printf (i.e. you can use a Text as
-- one of printf's arguments).
--
module Data.Text.All
type LText = Text
toStrict :: ToStrict t => t -> Text
toLazy :: ToLazy t => t -> LText
toBuilder :: ToBuilder t => t -> Builder
toString :: ToString t => t -> String
toByteString :: ToByteString t => t -> ByteString
toLByteString :: ToLByteString t => t -> ByteString
show :: Show a => a -> Text
lshow :: Show a => a -> LText
bshow :: Show a => a -> Builder
format :: Params ps => Format -> ps -> Text
lformat :: Params ps => Format -> ps -> LText
bformat :: Params ps => Format -> ps -> Builder
-- | A Builder is an efficient way to build lazy Text
-- values. There are several functions for constructing builders, but
-- only one to inspect them: to extract any data, you have to turn them
-- into lazy Text values using toLazyText.
--
-- Internally, a builder constructs a lazy Text by filling
-- arrays piece by piece. As each buffer is filled, it is 'popped' off,
-- to become a new chunk of the resulting lazy Text. All this is
-- hidden from the user of the Builder.
data Builder :: *
-- | A Builder producing a single character.
bsingleton :: Char -> Builder
-- | O(1). Pop the strict Text we have constructed so far,
-- if any, yielding a new chunk in the result lazy Text.
flush :: Builder
instance Data.Text.All.ToLByteString Data.Text.Internal.Text
instance Data.Text.All.ToLByteString Data.Text.All.LText
instance Data.Text.All.ToLByteString Data.Text.Internal.Builder.Builder
instance a ~ GHC.Types.Char => Data.Text.All.ToLByteString [a]
instance Data.Text.All.ToByteString Data.Text.Internal.Text
instance Data.Text.All.ToByteString Data.Text.All.LText
instance Data.Text.All.ToByteString Data.Text.Internal.Builder.Builder
instance a ~ GHC.Types.Char => Data.Text.All.ToByteString [a]
instance Data.Text.All.ToString Data.Text.Internal.Text
instance Data.Text.All.ToString Data.Text.All.LText
instance Data.Text.All.ToString Data.Text.Internal.Builder.Builder
instance Data.Text.All.ToString Data.ByteString.Internal.ByteString
instance Data.Text.All.ToString Data.ByteString.Lazy.Internal.ByteString
instance a ~ GHC.Types.Char => Data.Text.All.ToBuilder [a]
instance Data.Text.All.ToBuilder Data.Text.Internal.Text
instance Data.Text.All.ToBuilder Data.Text.All.LText
instance Data.Text.All.ToBuilder Data.ByteString.Internal.ByteString
instance Data.Text.All.ToBuilder Data.ByteString.Lazy.Internal.ByteString
instance a ~ GHC.Types.Char => Data.Text.All.ToLazy [a]
instance Data.Text.All.ToLazy Data.Text.Internal.Text
instance Data.Text.All.ToLazy Data.Text.Internal.Builder.Builder
instance Data.Text.All.ToLazy Data.ByteString.Internal.ByteString
instance Data.Text.All.ToLazy Data.ByteString.Lazy.Internal.ByteString
instance a ~ GHC.Types.Char => Data.Text.All.ToStrict [a]
instance Data.Text.All.ToStrict Data.Text.All.LText
instance Data.Text.All.ToStrict Data.Text.Internal.Builder.Builder
instance Data.Text.All.ToStrict Data.ByteString.Internal.ByteString
instance Data.Text.All.ToStrict Data.ByteString.Lazy.Internal.ByteString
module Data.Text.Lazy.All
-- | A synonym for lshow.
show :: Show a => a -> Text
-- | Render a format string and arguments to a Text.
format :: Params ps => Format -> ps -> Text