Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Instances of ListLike
and related classes.
Re-exported by Data.ListLike.
Orphan instances
StringLike (UTF8 ByteString) Source # | |
toString :: UTF8 ByteString -> String Source # lines :: ListLike full (UTF8 ByteString) => UTF8 ByteString -> full Source # words :: ListLike full (UTF8 ByteString) => UTF8 ByteString -> full Source # unlines :: ListLike full (UTF8 ByteString) => full -> UTF8 ByteString Source # unwords :: ListLike full (UTF8 ByteString) => full -> UTF8 ByteString Source # show :: Show a => a -> UTF8 ByteString Source # fromStringLike :: StringLike s' => UTF8 ByteString -> s' Source # fromText :: Text -> UTF8 ByteString Source # fromLazyText :: Text -> UTF8 ByteString Source # | |
StringLike (UTF8 ByteString) Source # | |
toString :: UTF8 ByteString -> String Source # lines :: ListLike full (UTF8 ByteString) => UTF8 ByteString -> full Source # words :: ListLike full (UTF8 ByteString) => UTF8 ByteString -> full Source # unlines :: ListLike full (UTF8 ByteString) => full -> UTF8 ByteString Source # unwords :: ListLike full (UTF8 ByteString) => full -> UTF8 ByteString Source # show :: Show a => a -> UTF8 ByteString Source # fromStringLike :: StringLike s' => UTF8 ByteString -> s' Source # fromText :: Text -> UTF8 ByteString Source # fromLazyText :: Text -> UTF8 ByteString Source # | |
Monoid (UTF8 ByteString) Source # | |
Monoid (UTF8 ByteString) Source # | |
Semigroup (UTF8 ByteString) Source # | |
Semigroup (UTF8 ByteString) Source # | |
IsList (UTF8 ByteString) Source # | |
IsList (UTF8 ByteString) Source # | |
ListLike (UTF8 ByteString) Char Source # | |
empty :: UTF8 ByteString Source # singleton :: Char -> UTF8 ByteString Source # cons :: Char -> UTF8 ByteString -> UTF8 ByteString Source # snoc :: UTF8 ByteString -> Char -> UTF8 ByteString Source # append :: UTF8 ByteString -> UTF8 ByteString -> UTF8 ByteString Source # head :: UTF8 ByteString -> Char Source # uncons :: UTF8 ByteString -> Maybe (Char, UTF8 ByteString) Source # last :: UTF8 ByteString -> Char Source # tail :: UTF8 ByteString -> UTF8 ByteString Source # init :: UTF8 ByteString -> UTF8 ByteString Source # null :: UTF8 ByteString -> Bool Source # length :: UTF8 ByteString -> Int Source # map :: ListLike full' item' => (Char -> item') -> UTF8 ByteString -> full' Source # rigidMap :: (Char -> Char) -> UTF8 ByteString -> UTF8 ByteString Source # reverse :: UTF8 ByteString -> UTF8 ByteString Source # intersperse :: Char -> UTF8 ByteString -> UTF8 ByteString Source # concat :: ListLike full' (UTF8 ByteString) => full' -> UTF8 ByteString Source # concatMap :: ListLike full' item' => (Char -> full') -> UTF8 ByteString -> full' Source # rigidConcatMap :: (Char -> UTF8 ByteString) -> UTF8 ByteString -> UTF8 ByteString Source # any :: (Char -> Bool) -> UTF8 ByteString -> Bool Source # all :: (Char -> Bool) -> UTF8 ByteString -> Bool Source # maximum :: UTF8 ByteString -> Char Source # minimum :: UTF8 ByteString -> Char Source # replicate :: Int -> Char -> UTF8 ByteString Source # take :: Int -> UTF8 ByteString -> UTF8 ByteString Source # drop :: Int -> UTF8 ByteString -> UTF8 ByteString Source # splitAt :: Int -> UTF8 ByteString -> (UTF8 ByteString, UTF8 ByteString) Source # takeWhile :: (Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString Source # dropWhile :: (Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString Source # dropWhileEnd :: (Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString Source # span :: (Char -> Bool) -> UTF8 ByteString -> (UTF8 ByteString, UTF8 ByteString) Source # break :: (Char -> Bool) -> UTF8 ByteString -> (UTF8 ByteString, UTF8 ByteString) Source # group :: (ListLike full' (UTF8 ByteString), Eq Char) => UTF8 ByteString -> full' Source # inits :: ListLike full' (UTF8 ByteString) => UTF8 ByteString -> full' Source # tails :: ListLike full' (UTF8 ByteString) => UTF8 ByteString -> full' Source # isPrefixOf :: UTF8 ByteString -> UTF8 ByteString -> Bool Source # isSuffixOf :: UTF8 ByteString -> UTF8 ByteString -> Bool Source # isInfixOf :: UTF8 ByteString -> UTF8 ByteString -> Bool Source # stripPrefix :: UTF8 ByteString -> UTF8 ByteString -> Maybe (UTF8 ByteString) Source # stripSuffix :: UTF8 ByteString -> UTF8 ByteString -> Maybe (UTF8 ByteString) Source # elem :: Char -> UTF8 ByteString -> Bool Source # notElem :: Char -> UTF8 ByteString -> Bool Source # find :: (Char -> Bool) -> UTF8 ByteString -> Maybe Char Source # filter :: (Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString Source # partition :: (Char -> Bool) -> UTF8 ByteString -> (UTF8 ByteString, UTF8 ByteString) Source # index :: UTF8 ByteString -> Int -> Char Source # elemIndex :: Char -> UTF8 ByteString -> Maybe Int Source # elemIndices :: (Eq Char, ListLike result Int) => Char -> UTF8 ByteString -> result Source # findIndex :: (Char -> Bool) -> UTF8 ByteString -> Maybe Int Source # findIndices :: ListLike result Int => (Char -> Bool) -> UTF8 ByteString -> result Source # sequence :: (Applicative m, ListLike fullinp (m Char)) => fullinp -> m (UTF8 ByteString) Source # mapM :: (Applicative m, ListLike full' item') => (Char -> m item') -> UTF8 ByteString -> m full' Source # rigidMapM :: Monad m => (Char -> m Char) -> UTF8 ByteString -> m (UTF8 ByteString) Source # nub :: UTF8 ByteString -> UTF8 ByteString Source # delete :: Char -> UTF8 ByteString -> UTF8 ByteString Source # deleteFirsts :: UTF8 ByteString -> UTF8 ByteString -> UTF8 ByteString Source # union :: UTF8 ByteString -> UTF8 ByteString -> UTF8 ByteString Source # intersect :: UTF8 ByteString -> UTF8 ByteString -> UTF8 ByteString Source # sort :: UTF8 ByteString -> UTF8 ByteString Source # insert :: Char -> UTF8 ByteString -> UTF8 ByteString Source # toList' :: UTF8 ByteString -> [Char] Source # fromList' :: [Char] -> UTF8 ByteString Source # fromListLike :: ListLike full' Char => UTF8 ByteString -> full' Source # nubBy :: (Char -> Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString Source # deleteBy :: (Char -> Char -> Bool) -> Char -> UTF8 ByteString -> UTF8 ByteString Source # deleteFirstsBy :: (Char -> Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString -> UTF8 ByteString Source # unionBy :: (Char -> Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString -> UTF8 ByteString Source # intersectBy :: (Char -> Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString -> UTF8 ByteString Source # groupBy :: (ListLike full' (UTF8 ByteString), Eq Char) => (Char -> Char -> Bool) -> UTF8 ByteString -> full' Source # sortBy :: (Char -> Char -> Ordering) -> UTF8 ByteString -> UTF8 ByteString Source # insertBy :: (Char -> Char -> Ordering) -> Char -> UTF8 ByteString -> UTF8 ByteString Source # genericLength :: Num a => UTF8 ByteString -> a Source # genericTake :: Integral a => a -> UTF8 ByteString -> UTF8 ByteString Source # genericDrop :: Integral a => a -> UTF8 ByteString -> UTF8 ByteString Source # genericSplitAt :: Integral a => a -> UTF8 ByteString -> (UTF8 ByteString, UTF8 ByteString) Source # genericReplicate :: Integral a => a -> Char -> UTF8 ByteString Source # | |
ListLike (UTF8 ByteString) Char Source # | |
empty :: UTF8 ByteString Source # singleton :: Char -> UTF8 ByteString Source # cons :: Char -> UTF8 ByteString -> UTF8 ByteString Source # snoc :: UTF8 ByteString -> Char -> UTF8 ByteString Source # append :: UTF8 ByteString -> UTF8 ByteString -> UTF8 ByteString Source # head :: UTF8 ByteString -> Char Source # uncons :: UTF8 ByteString -> Maybe (Char, UTF8 ByteString) Source # last :: UTF8 ByteString -> Char Source # tail :: UTF8 ByteString -> UTF8 ByteString Source # init :: UTF8 ByteString -> UTF8 ByteString Source # null :: UTF8 ByteString -> Bool Source # length :: UTF8 ByteString -> Int Source # map :: ListLike full' item' => (Char -> item') -> UTF8 ByteString -> full' Source # rigidMap :: (Char -> Char) -> UTF8 ByteString -> UTF8 ByteString Source # reverse :: UTF8 ByteString -> UTF8 ByteString Source # intersperse :: Char -> UTF8 ByteString -> UTF8 ByteString Source # concat :: ListLike full' (UTF8 ByteString) => full' -> UTF8 ByteString Source # concatMap :: ListLike full' item' => (Char -> full') -> UTF8 ByteString -> full' Source # rigidConcatMap :: (Char -> UTF8 ByteString) -> UTF8 ByteString -> UTF8 ByteString Source # any :: (Char -> Bool) -> UTF8 ByteString -> Bool Source # all :: (Char -> Bool) -> UTF8 ByteString -> Bool Source # maximum :: UTF8 ByteString -> Char Source # minimum :: UTF8 ByteString -> Char Source # replicate :: Int -> Char -> UTF8 ByteString Source # take :: Int -> UTF8 ByteString -> UTF8 ByteString Source # drop :: Int -> UTF8 ByteString -> UTF8 ByteString Source # splitAt :: Int -> UTF8 ByteString -> (UTF8 ByteString, UTF8 ByteString) Source # takeWhile :: (Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString Source # dropWhile :: (Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString Source # dropWhileEnd :: (Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString Source # span :: (Char -> Bool) -> UTF8 ByteString -> (UTF8 ByteString, UTF8 ByteString) Source # break :: (Char -> Bool) -> UTF8 ByteString -> (UTF8 ByteString, UTF8 ByteString) Source # group :: (ListLike full' (UTF8 ByteString), Eq Char) => UTF8 ByteString -> full' Source # inits :: ListLike full' (UTF8 ByteString) => UTF8 ByteString -> full' Source # tails :: ListLike full' (UTF8 ByteString) => UTF8 ByteString -> full' Source # isPrefixOf :: UTF8 ByteString -> UTF8 ByteString -> Bool Source # isSuffixOf :: UTF8 ByteString -> UTF8 ByteString -> Bool Source # isInfixOf :: UTF8 ByteString -> UTF8 ByteString -> Bool Source # stripPrefix :: UTF8 ByteString -> UTF8 ByteString -> Maybe (UTF8 ByteString) Source # stripSuffix :: UTF8 ByteString -> UTF8 ByteString -> Maybe (UTF8 ByteString) Source # elem :: Char -> UTF8 ByteString -> Bool Source # notElem :: Char -> UTF8 ByteString -> Bool Source # find :: (Char -> Bool) -> UTF8 ByteString -> Maybe Char Source # filter :: (Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString Source # partition :: (Char -> Bool) -> UTF8 ByteString -> (UTF8 ByteString, UTF8 ByteString) Source # index :: UTF8 ByteString -> Int -> Char Source # elemIndex :: Char -> UTF8 ByteString -> Maybe Int Source # elemIndices :: (Eq Char, ListLike result Int) => Char -> UTF8 ByteString -> result Source # findIndex :: (Char -> Bool) -> UTF8 ByteString -> Maybe Int Source # findIndices :: ListLike result Int => (Char -> Bool) -> UTF8 ByteString -> result Source # sequence :: (Applicative m, ListLike fullinp (m Char)) => fullinp -> m (UTF8 ByteString) Source # mapM :: (Applicative m, ListLike full' item') => (Char -> m item') -> UTF8 ByteString -> m full' Source # rigidMapM :: Monad m => (Char -> m Char) -> UTF8 ByteString -> m (UTF8 ByteString) Source # nub :: UTF8 ByteString -> UTF8 ByteString Source # delete :: Char -> UTF8 ByteString -> UTF8 ByteString Source # deleteFirsts :: UTF8 ByteString -> UTF8 ByteString -> UTF8 ByteString Source # union :: UTF8 ByteString -> UTF8 ByteString -> UTF8 ByteString Source # intersect :: UTF8 ByteString -> UTF8 ByteString -> UTF8 ByteString Source # sort :: UTF8 ByteString -> UTF8 ByteString Source # insert :: Char -> UTF8 ByteString -> UTF8 ByteString Source # toList' :: UTF8 ByteString -> [Char] Source # fromList' :: [Char] -> UTF8 ByteString Source # fromListLike :: ListLike full' Char => UTF8 ByteString -> full' Source # nubBy :: (Char -> Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString Source # deleteBy :: (Char -> Char -> Bool) -> Char -> UTF8 ByteString -> UTF8 ByteString Source # deleteFirstsBy :: (Char -> Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString -> UTF8 ByteString Source # unionBy :: (Char -> Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString -> UTF8 ByteString Source # intersectBy :: (Char -> Char -> Bool) -> UTF8 ByteString -> UTF8 ByteString -> UTF8 ByteString Source # groupBy :: (ListLike full' (UTF8 ByteString), Eq Char) => (Char -> Char -> Bool) -> UTF8 ByteString -> full' Source # sortBy :: (Char -> Char -> Ordering) -> UTF8 ByteString -> UTF8 ByteString Source # insertBy :: (Char -> Char -> Ordering) -> Char -> UTF8 ByteString -> UTF8 ByteString Source # genericLength :: Num a => UTF8 ByteString -> a Source # genericTake :: Integral a => a -> UTF8 ByteString -> UTF8 ByteString Source # genericDrop :: Integral a => a -> UTF8 ByteString -> UTF8 ByteString Source # genericSplitAt :: Integral a => a -> UTF8 ByteString -> (UTF8 ByteString, UTF8 ByteString) Source # genericReplicate :: Integral a => a -> Char -> UTF8 ByteString Source # | |
FoldableLL (UTF8 ByteString) Char Source # | |
foldl :: (a -> Char -> a) -> a -> UTF8 ByteString -> a Source # foldl' :: (a -> Char -> a) -> a -> UTF8 ByteString -> a Source # foldl1 :: (Char -> Char -> Char) -> UTF8 ByteString -> Char Source # foldr :: (Char -> b -> b) -> b -> UTF8 ByteString -> b Source # foldr' :: (Char -> b -> b) -> b -> UTF8 ByteString -> b Source # foldr1 :: (Char -> Char -> Char) -> UTF8 ByteString -> Char Source # | |
FoldableLL (UTF8 ByteString) Char Source # | |
foldl :: (a -> Char -> a) -> a -> UTF8 ByteString -> a Source # foldl' :: (a -> Char -> a) -> a -> UTF8 ByteString -> a Source # foldl1 :: (Char -> Char -> Char) -> UTF8 ByteString -> Char Source # foldr :: (Char -> b -> b) -> b -> UTF8 ByteString -> b Source # foldr' :: (Char -> b -> b) -> b -> UTF8 ByteString -> b Source # foldr1 :: (Char -> Char -> Char) -> UTF8 ByteString -> Char Source # | |
ListLikeIO (UTF8 ByteString) Char Source # | |
hGetLine :: Handle -> IO (UTF8 ByteString) Source # hGetContents :: Handle -> IO (UTF8 ByteString) Source # hGet :: Handle -> Int -> IO (UTF8 ByteString) Source # hGetNonBlocking :: Handle -> Int -> IO (UTF8 ByteString) Source # hPutStr :: Handle -> UTF8 ByteString -> IO () Source # hPutStrLn :: Handle -> UTF8 ByteString -> IO () Source # getLine :: IO (UTF8 ByteString) Source # getContents :: IO (UTF8 ByteString) Source # putStr :: UTF8 ByteString -> IO () Source # putStrLn :: UTF8 ByteString -> IO () Source # interact :: (UTF8 ByteString -> UTF8 ByteString) -> IO () Source # readFile :: FilePath -> IO (UTF8 ByteString) Source # writeFile :: FilePath -> UTF8 ByteString -> IO () Source # appendFile :: FilePath -> UTF8 ByteString -> IO () Source # | |
ListLikeIO (UTF8 ByteString) Char Source # | |
hGetLine :: Handle -> IO (UTF8 ByteString) Source # hGetContents :: Handle -> IO (UTF8 ByteString) Source # hGet :: Handle -> Int -> IO (UTF8 ByteString) Source # hGetNonBlocking :: Handle -> Int -> IO (UTF8 ByteString) Source # hPutStr :: Handle -> UTF8 ByteString -> IO () Source # hPutStrLn :: Handle -> UTF8 ByteString -> IO () Source # getLine :: IO (UTF8 ByteString) Source # getContents :: IO (UTF8 ByteString) Source # putStr :: UTF8 ByteString -> IO () Source # putStrLn :: UTF8 ByteString -> IO () Source # interact :: (UTF8 ByteString -> UTF8 ByteString) -> IO () Source # readFile :: FilePath -> IO (UTF8 ByteString) Source # writeFile :: FilePath -> UTF8 ByteString -> IO () Source # appendFile :: FilePath -> UTF8 ByteString -> IO () Source # |