-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Everything Data.Text related in one package
--   
--   Everything <tt>Data.Text</tt>-related in one package.
--   
--   Note: this package follows PVP.
@package text-all
@version 0.4.1.1

module Data.Text.Lazy.All

-- | A synonym for <a>lshow</a>.
show :: Show a => a -> Text

-- | Render a format string and arguments to a <a>Text</a>.
format :: Params ps => Format -> ps -> Text


-- | Note that thanks to a restrictive lower bound on <tt>text</tt>, you
--   can be sure that the following things will be present in the
--   <a>Data.Text</a> reexport:
--   
--   <ul>
--   <li>The <a>takeWhileEnd</a> function.</li>
--   <li>An instance for <tt>Semigroup Text</tt>.</li>
--   <li>An instance for <tt>Binary Text</tt>.</li>
--   <li>An instance for <a>printf</a> (i.e. you can use a <a>Text</a> as
--   one of <tt>printf</tt>'s arguments).</li>
--   </ul>
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 <tt>Builder</tt> is an efficient way to build lazy <tt>Text</tt>
--   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 <tt>Text</tt> values using <tt>toLazyText</tt>.
--   
--   Internally, a builder constructs a lazy <tt>Text</tt> by filling
--   arrays piece by piece. As each buffer is filled, it is 'popped' off,
--   to become a new chunk of the resulting lazy <tt>Text</tt>. All this is
--   hidden from the user of the <tt>Builder</tt>.
data Builder :: *

-- | A <a>Builder</a> producing a single character.
bsingleton :: Char -> Builder

-- | <i>O(1).</i> Pop the strict <tt>Text</tt> we have constructed so far,
--   if any, yielding a new chunk in the result lazy <tt>Text</tt>.
flush :: Builder
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
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.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 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 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.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]
