Hoogle Search

Within LTS Haskell 24.60 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. decodeUtf8Bytes :: Bytes -> Maybe Country

    country Country

    No documentation available.

  2. decodeUtf8BytesIso8601 :: Bytes -> Maybe OffsetDatetime

    chronos Chronos

    No documentation available.

  3. decodeUtf8BytesIso8601Zoneless :: Bytes -> Maybe Datetime

    chronos Chronos

    Decode an ISO-8601-encode datetime.

  4. decodeUtf8BytesIso8601ZonelessSpaced :: Bytes -> Maybe Datetime

    chronos Chronos

    Decode a datetime that is nearly ISO-8601-encoded but uses a space instead of a T to separate the date and the time. For example: 2022-10-29 14:00:05.

  5. decodeUtf8_YmdHMS :: DatetimeFormat -> ByteString -> Maybe Datetime

    chronos Chronos

    Decode a Year/Month/Day,Hour/Minute/Second-encoded Datetime from a ByteString.

  6. decodeUtf8_YmdHMS_opt_S :: DatetimeFormat -> ByteString -> Maybe Datetime

    chronos Chronos

    Parses text that is formatted as either of the following:

    • %H:%M
    • %H:%M:%S
    That is, the seconds and subseconds part is optional. If it is not provided, it is assumed to be zero. This format shows up in Google Chrome's datetime-local inputs.

  7. decodeUtf8C :: forall (m :: Type -> Type) . MonadThrow m => ConduitT ByteString Text m ()

    classy-prelude-conduit ClassyPrelude.Conduit

    Decode a stream of binary data as UTF8.

  8. decodeUtf8LenientC :: forall (m :: Type -> Type) . Monad m => ConduitT ByteString Text m ()

    classy-prelude-conduit ClassyPrelude.Conduit

    Decode a stream of binary data as UTF8, replacing any invalid bytes with the Unicode replacement character.

  9. decodeUtf8Strict :: ConvertUtf8 a b => b -> Either UnicodeException a

    incipit-base Incipit.String.Conversion

    Decode as utf8 string but returning execption if byte sequence is malformed. #if MIN_VERSION_text(1,2,3) >>> decodeUtf8 Text ByteString "208208176209130208176208186" "655331072109010721082" #else >>> decodeUtf8 Text ByteString "208208176209130208176208186" "6553365533109010721082" #endif >>> decodeUtf8Strict Text ByteString "208208176209130208176208186" Left Cannot decode byte 'xd0': Data.Text.Internal.Encoding.decodeUtf8: Invalid UTF-8 stream

  10. decodeUtf8' :: ByteString -> Either UnicodeException Text

    incipit-base Incipit.String.Reexport

    Decode a ByteString containing UTF-8 encoded text. If the input contains any invalid UTF-8 data, the relevant exception will be returned, otherwise the decoded text.

Page 7 of many | Previous | Next