Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

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

  1. isProperSubsetOf :: Ord a => Set a -> Set a -> Bool

    rio RIO.Set

    (s1 `isProperSubsetOf` s2) indicates whether s1 is a proper subset of s2.

    s1 `isProperSubsetOf` s2 = s1 `isSubsetOf` s2 && s1 /= s2
    

  2. isSubsetOf :: Ord a => Set a -> Set a -> Bool

    rio RIO.Set

    (s1 `isSubsetOf` s2) indicates whether s1 is a subset of s2.

    s1 `isSubsetOf` s2 = all (`member` s2) s1
    s1 `isSubsetOf` s2 = null (s1 `difference` s2)
    s1 `isSubsetOf` s2 = s1 `union` s2 == s2
    s1 `isSubsetOf` s2 = s1 `intersection` s2 == s1
    

  3. class ParseTime t

    rio RIO.Time

    The class of types which can be parsed given a UNIX-style time format string.

  4. parseTimeM :: (MonadFail m, ParseTime t) => Bool -> TimeLocale -> String -> String -> m t

    rio RIO.Time

    Parses a time value given a format string. Missing information will be derived from 1970-01-01 00:00 UTC (which was a Thursday). Supports the same %-codes as formatTime, including %-, %_ and %0 modifiers, however padding widths are not supported. Case is not significant in the input string. Some variations in the input are accepted:

    • %z %Ez accepts any of ±HHMM or ±HH:MM.
    • %Z %EZ accepts any string of letters, or any of the formats accepted by %z.
    • %0Y accepts exactly four digits.
    • %0G accepts exactly four digits.
    • %0C accepts exactly two digits.
    • %0f accepts exactly two digits.
    For example, to parse a date in YYYY-MM-DD format, while allowing the month and date to have optional leading zeros (notice the - modifier used for %m and %d):
    Prelude Data.Time> parseTimeM True defaultTimeLocale "%Y-%-m-%-d" "2010-3-04" :: Maybe Day
    Just 2010-03-04
    

  5. parseTimeMultipleM :: (MonadFail m, ParseTime t) => Bool -> TimeLocale -> [(String, String)] -> m t

    rio RIO.Time

    Parses a time value given a list of pairs of format and input. Resulting value is constructed from all provided specifiers.

  6. parseTimeOrError :: ParseTime t => Bool -> TimeLocale -> String -> String -> t

    rio RIO.Time

    Parse a time value given a format string. Fails if the input could not be parsed using the given format. See parseTimeM for details.

  7. timeZoneOffsetString :: TimeZone -> String

    rio RIO.Time

    Text representing the offset of this timezone, such as "-0800" or "+0400" (like %z in formatTime).

  8. timeZoneOffsetString' :: Maybe Char -> TimeZone -> String

    rio RIO.Time

    Text representing the offset of this timezone, such as "-0800" or "+0400" (like %z in formatTime), with arbitrary padding.

  9. data HamletSettings

    shakespeare Text.Hamlet

    Settings for parsing of a hamlet document.

  10. HamletSettings :: String -> NewlineStyle -> (String -> CloseStyle) -> [(String, String)] -> HamletSettings

    shakespeare Text.Hamlet

    No documentation available.

Page 1203 of many | Previous | Next