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.
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
maybeSuffixOf :: Eq a => [a] -> [a] -> Maybe [a]utility-ht Data.List.HT >>> maybeSuffixOf "abc" "abcdef" Nothing >>> maybeSuffixOf "def" "abcdef" Just "abc"
maybeRead :: Read a => String -> Maybe autility-ht Text.Read.HT No documentation available.
-
servant Servant.API.MultiVerb No documentation available.
-
servant Servant.API.MultiVerb No documentation available.
maybeNamedArray :: Maybe Text -> [YamlBuilder] -> YamlBuilderyaml Data.Yaml.Builder No documentation available.
maybeNamedBool :: Maybe Text -> Bool -> YamlBuilderyaml Data.Yaml.Builder No documentation available.
maybeNamedMapping :: Maybe Text -> [(Text, YamlBuilder)] -> YamlBuilderyaml Data.Yaml.Builder No documentation available.
maybeNamedMappingComplex :: Maybe Text -> [(YamlBuilder, YamlBuilder)] -> YamlBuilderyaml Data.Yaml.Builder No documentation available.
maybeNamedNull :: Maybe Text -> YamlBuilderyaml Data.Yaml.Builder No documentation available.