rawstring-qm-0.2.3.0: Simple raw string quotation and dictionary interpolation
Data.Text.ToText
class (Typeable a, Read a) => ToText a where Source #
Minimal complete definition
toLazyText
Methods
toText :: a -> Text Source #
toLazyText :: a -> Text Source #
fromText :: Text -> Either Text a Source #
maybeFromText :: Text -> Maybe a Source #
fromLazyText :: Text -> Either Text a Source #
maybeFromLazyText :: Text -> Maybe a Source #
Instances
toText :: String -> Text Source #
toLazyText :: String -> Text Source #
fromText :: Text -> Either Text String Source #
maybeFromText :: Text -> Maybe String Source #
fromLazyText :: Text -> Either Text String Source #
maybeFromLazyText :: Text -> Maybe String Source #
toText :: ByteString -> Text Source #
toLazyText :: ByteString -> Text Source #
fromText :: Text -> Either Text ByteString Source #
maybeFromText :: Text -> Maybe ByteString Source #
fromLazyText :: Text -> Either Text ByteString Source #
maybeFromLazyText :: Text -> Maybe ByteString Source #
toText :: Text -> Text Source #
toLazyText :: Text -> Text Source #
fromText :: Text -> Either Text Text Source #
maybeFromText :: Text -> Maybe Text Source #
fromLazyText :: Text -> Either Text Text Source #
maybeFromLazyText :: Text -> Maybe Text Source #