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