Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. maybePrefixOf :: Eq a => [a] -> [a] -> Maybe [a]

    utility-ht Data.List.HT

    maybePrefixOf xs ys is Just zs if xs is a prefix of ys, where zs is ys without the prefix xs. Otherwise it is Nothing. It is the same as stripPrefix.

    >>> maybePrefixOf "abc" "abcdef"
    Just "def"
    
    >>> maybePrefixOf "def" "abcdef"
    Nothing
    

  2. maybeSuffixOf :: Eq a => [a] -> [a] -> Maybe [a]

    utility-ht Data.List.HT

    >>> maybeSuffixOf "abc" "abcdef"
    Nothing
    
    >>> maybeSuffixOf "def" "abcdef"
    Just "abc"
    

  3. maybeRead :: Read a => String -> Maybe a

    utility-ht Text.Read.HT

    No documentation available.

  4. maybeFromUnion :: forall (as :: [Type]) a . EitherFromUnion as '[()] => (Union as -> a) -> Union (as .++ '[()]) -> Maybe a

    servant Servant.API.MultiVerb

    No documentation available.

  5. maybeToUnion :: forall (as :: [Type]) a . (InjectAfter as '[()], InjectBefore as '[()]) => (a -> Union as) -> Maybe a -> Union (as .++ '[()])

    servant Servant.API.MultiVerb

    No documentation available.

  6. maybeNamedArray :: Maybe Text -> [YamlBuilder] -> YamlBuilder

    yaml Data.Yaml.Builder

    No documentation available.

  7. maybeNamedBool :: Maybe Text -> Bool -> YamlBuilder

    yaml Data.Yaml.Builder

    No documentation available.

  8. maybeNamedMapping :: Maybe Text -> [(Text, YamlBuilder)] -> YamlBuilder

    yaml Data.Yaml.Builder

    No documentation available.

  9. maybeNamedMappingComplex :: Maybe Text -> [(YamlBuilder, YamlBuilder)] -> YamlBuilder

    yaml Data.Yaml.Builder

    No documentation available.

  10. maybeNamedNull :: Maybe Text -> YamlBuilder

    yaml Data.Yaml.Builder

    No documentation available.

Page 17 of many | Previous | Next