ListLike-4.5.1: Generic support for list-like structures

Safe Haskell | Safe
Language | Haskell98

Data.ListLike.Text.Builder

Contents

- Orphan instances

# Documentation

# Orphan instances

NFData Builder # |
Methods rnf :: Builder -> () #
StringLike Builder # |
Methods toString :: Builder -> String # fromString :: String -> Builder # lines :: ListLike full Builder => Builder -> full # words :: ListLike full Builder => Builder -> full # unlines :: ListLike full Builder => full -> Builder # unwords :: ListLike full Builder => full -> Builder #
FoldableLL Builder Char # |
Methods foldl :: (a -> Char -> a) -> a -> Builder -> a # foldl' :: (a -> Char -> a) -> a -> Builder -> a # foldl1 :: (Char -> Char -> Char) -> Builder -> Char # foldr :: (Char -> b -> b) -> b -> Builder -> b # foldr' :: (Char -> b -> b) -> b -> Builder -> b # foldr1 :: (Char -> Char -> Char) -> Builder -> Char #
ListLike Builder Char # |
Methods empty :: Builder # singleton :: Char -> Builder # cons :: Char -> Builder -> Builder # snoc :: Builder -> Char -> Builder # append :: Builder -> Builder -> Builder # head :: Builder -> Char # uncons :: Builder -> Maybe (Char, Builder) # last :: Builder -> Char # tail :: Builder -> Builder # init :: Builder -> Builder # null :: Builder -> Bool # length :: Builder -> Int # map :: ListLike full' item' => (Char -> item') -> Builder -> full' # rigidMap :: (Char -> Char) -> Builder -> Builder # reverse :: Builder -> Builder # intersperse :: Char -> Builder -> Builder # concat :: (ListLike full' Builder, Monoid Builder) => full' -> Builder # concatMap :: ListLike full' item' => (Char -> full') -> Builder -> full' # rigidConcatMap :: (Char -> Builder) -> Builder -> Builder # any :: (Char -> Bool) -> Builder -> Bool # all :: (Char -> Bool) -> Builder -> Bool # maximum :: Builder -> Char # minimum :: Builder -> Char # replicate :: Int -> Char -> Builder # take :: Int -> Builder -> Builder # drop :: Int -> Builder -> Builder # splitAt :: Int -> Builder -> (Builder, Builder) # takeWhile :: (Char -> Bool) -> Builder -> Builder # dropWhile :: (Char -> Bool) -> Builder -> Builder # dropWhileEnd :: (Char -> Bool) -> Builder -> Builder # span :: (Char -> Bool) -> Builder -> (Builder, Builder) # break :: (Char -> Bool) -> Builder -> (Builder, Builder) # group :: (ListLike full' Builder, Eq Char) => Builder -> full' # inits :: ListLike full' Builder => Builder -> full' # tails :: ListLike full' Builder => Builder -> full' # isPrefixOf :: Builder -> Builder -> Bool # isSuffixOf :: Builder -> Builder -> Bool # isInfixOf :: Builder -> Builder -> Bool # stripPrefix :: Builder -> Builder -> Maybe Builder # stripSuffix :: Builder -> Builder -> Maybe Builder # elem :: Char -> Builder -> Bool # notElem :: Char -> Builder -> Bool # find :: (Char -> Bool) -> Builder -> Maybe Char # filter :: (Char -> Bool) -> Builder -> Builder # partition :: (Char -> Bool) -> Builder -> (Builder, Builder) # index :: Builder -> Int -> Char # elemIndex :: Char -> Builder -> Maybe Int # elemIndices :: (Eq Char, ListLike result Int) => Char -> Builder -> result # findIndex :: (Char -> Bool) -> Builder -> Maybe Int # findIndices :: ListLike result Int => (Char -> Bool) -> Builder -> result # sequence :: (Monad m, ListLike fullinp (m Char)) => fullinp -> m Builder # mapM :: (Monad m, ListLike full' item') => (Char -> m item') -> Builder -> m full' # rigidMapM :: Monad m => (Char -> m Char) -> Builder -> m Builder # nub :: Builder -> Builder # delete :: Char -> Builder -> Builder # deleteFirsts :: Builder -> Builder -> Builder # union :: Builder -> Builder -> Builder # intersect :: Builder -> Builder -> Builder # sort :: Builder -> Builder # insert :: Char -> Builder -> Builder # toList :: Builder -> [Char] # fromList :: [Char] -> Builder # fromListLike :: ListLike full' Char => Builder -> full' # nubBy :: (Char -> Char -> Bool) -> Builder -> Builder # deleteBy :: (Char -> Char -> Bool) -> Char -> Builder -> Builder # deleteFirstsBy :: (Char -> Char -> Bool) -> Builder -> Builder -> Builder # unionBy :: (Char -> Char -> Bool) -> Builder -> Builder -> Builder # intersectBy :: (Char -> Char -> Bool) -> Builder -> Builder -> Builder # groupBy :: (ListLike full' Builder, Eq Char) => (Char -> Char -> Bool) -> Builder -> full' # sortBy :: (Char -> Char -> Ordering) -> Builder -> Builder # insertBy :: (Char -> Char -> Ordering) -> Char -> Builder -> Builder # genericLength :: Num a => Builder -> a # genericTake :: Integral a => a -> Builder -> Builder # genericDrop :: Integral a => a -> Builder -> Builder # genericSplitAt :: Integral a => a -> Builder -> (Builder, Builder) # genericReplicate :: Integral a => a -> Char -> Builder #
ListLikeIO Builder Char # |
Methods hGetLine :: Handle -> IO Builder # hGetContents :: Handle -> IO Builder # hGet :: Handle -> Int -> IO Builder # hGetNonBlocking :: Handle -> Int -> IO Builder # hPutStr :: Handle -> Builder -> IO () # hPutStrLn :: Handle -> Builder -> IO () # getLine :: IO Builder # getContents :: IO Builder # putStr :: Builder -> IO () # putStrLn :: Builder -> IO () # interact :: (Builder -> Builder) -> IO () # readFile :: FilePath -> IO Builder # writeFile :: FilePath -> Builder -> IO () # appendFile :: FilePath -> Builder -> IO () #