Safe Haskell | Safe-Infered |
---|
Documentation
class (Eq a, Show a) => StringLike a whereSource
span :: (Char -> Bool) -> a -> (a, a)Source
concatMap :: (Char -> String) -> a -> aSource
dropWhile :: (Char -> Bool) -> a -> aSource
break :: (Char -> Bool) -> a -> (a, a)Source
uncons :: a -> Maybe (Char, a)Source
intercalate :: a -> [a] -> aSource
isPrefixOf :: a -> a -> BoolSource
unpackUtf8 :: ByteString -> Maybe aSource
dropPrefix :: a -> a -> Maybe aSource
dropPrefix' :: a -> a -> aSource
dropQuotes :: a -> aSource
chompStart :: a -> aSource
split :: Char -> a -> [a]Source
splitOneOf :: [Char] -> a -> [a]Source
breakCharsMaybe :: [Char] -> a -> Maybe (a, a)Source
breakCharMaybe :: Char -> a -> Maybe (a, a)Source
breakChar :: Char -> a -> (a, a)Source
breakChars :: [Char] -> a -> (a, a)Source
breakString :: a -> a -> (a, a)Source
takeLineMaybe :: a -> Maybe (a, a)Source
takeUntilBlank :: a -> ([a], a)Source
takeUntilBlankMaybe :: a -> Maybe ([a], a)Source
lengthLT :: Int -> a -> BoolSource
lengthGE :: Int -> a -> BoolSource
concatMapUtf8 :: (Char -> String) -> a -> aSource
UTF8 encode each character before passing to concatMap, if appropriate.