Methods
empty :: CharString Source #
singleton :: Char -> CharString Source #
cons :: Char -> CharString -> CharString Source #
snoc :: CharString -> Char -> CharString Source #
append :: CharString -> CharString -> CharString Source #
head :: CharString -> Char Source #
uncons :: CharString -> Maybe (Char, CharString) Source #
last :: CharString -> Char Source #
tail :: CharString -> CharString Source #
init :: CharString -> CharString Source #
null :: CharString -> Bool Source #
length :: CharString -> Int Source #
map :: ListLike full' item' => (Char -> item') -> CharString -> full' Source #
rigidMap :: (Char -> Char) -> CharString -> CharString Source #
reverse :: CharString -> CharString Source #
intersperse :: Char -> CharString -> CharString Source #
concat :: (ListLike full' CharString, Monoid CharString) => full' -> CharString Source #
concatMap :: ListLike full' item' => (Char -> full') -> CharString -> full' Source #
rigidConcatMap :: (Char -> CharString) -> CharString -> CharString Source #
any :: (Char -> Bool) -> CharString -> Bool Source #
all :: (Char -> Bool) -> CharString -> Bool Source #
maximum :: CharString -> Char Source #
minimum :: CharString -> Char Source #
replicate :: Int -> Char -> CharString Source #
take :: Int -> CharString -> CharString Source #
drop :: Int -> CharString -> CharString Source #
splitAt :: Int -> CharString -> (CharString, CharString) Source #
takeWhile :: (Char -> Bool) -> CharString -> CharString Source #
dropWhile :: (Char -> Bool) -> CharString -> CharString Source #
dropWhileEnd :: (Char -> Bool) -> CharString -> CharString Source #
span :: (Char -> Bool) -> CharString -> (CharString, CharString) Source #
break :: (Char -> Bool) -> CharString -> (CharString, CharString) Source #
group :: (ListLike full' CharString, Eq Char) => CharString -> full' Source #
inits :: ListLike full' CharString => CharString -> full' Source #
tails :: ListLike full' CharString => CharString -> full' Source #
isPrefixOf :: CharString -> CharString -> Bool Source #
isSuffixOf :: CharString -> CharString -> Bool Source #
isInfixOf :: CharString -> CharString -> Bool Source #
stripPrefix :: CharString -> CharString -> Maybe CharString Source #
stripSuffix :: CharString -> CharString -> Maybe CharString Source #
elem :: Char -> CharString -> Bool Source #
notElem :: Char -> CharString -> Bool Source #
find :: (Char -> Bool) -> CharString -> Maybe Char Source #
filter :: (Char -> Bool) -> CharString -> CharString Source #
partition :: (Char -> Bool) -> CharString -> (CharString, CharString) Source #
index :: CharString -> Int -> Char Source #
elemIndex :: Char -> CharString -> Maybe Int Source #
elemIndices :: (Eq Char, ListLike result Int) => Char -> CharString -> result Source #
findIndex :: (Char -> Bool) -> CharString -> Maybe Int Source #
findIndices :: ListLike result Int => (Char -> Bool) -> CharString -> result Source #
sequence :: (Monad m, ListLike fullinp (m Char)) => fullinp -> m CharString Source #
mapM :: (Monad m, ListLike full' item') => (Char -> m item') -> CharString -> m full' Source #
rigidMapM :: Monad m => (Char -> m Char) -> CharString -> m CharString Source #
nub :: CharString -> CharString Source #
delete :: Char -> CharString -> CharString Source #
deleteFirsts :: CharString -> CharString -> CharString Source #
union :: CharString -> CharString -> CharString Source #
intersect :: CharString -> CharString -> CharString Source #
sort :: CharString -> CharString Source #
insert :: Char -> CharString -> CharString Source #
toList :: CharString -> [Char] Source #
fromList :: [Char] -> CharString Source #
fromListLike :: ListLike full' Char => CharString -> full' Source #
nubBy :: (Char -> Char -> Bool) -> CharString -> CharString Source #
deleteBy :: (Char -> Char -> Bool) -> Char -> CharString -> CharString Source #
deleteFirstsBy :: (Char -> Char -> Bool) -> CharString -> CharString -> CharString Source #
unionBy :: (Char -> Char -> Bool) -> CharString -> CharString -> CharString Source #
intersectBy :: (Char -> Char -> Bool) -> CharString -> CharString -> CharString Source #
groupBy :: (ListLike full' CharString, Eq Char) => (Char -> Char -> Bool) -> CharString -> full' Source #
sortBy :: (Char -> Char -> Ordering) -> CharString -> CharString Source #
insertBy :: (Char -> Char -> Ordering) -> Char -> CharString -> CharString Source #
genericLength :: Num a => CharString -> a Source #
genericTake :: Integral a => a -> CharString -> CharString Source #
genericDrop :: Integral a => a -> CharString -> CharString Source #
genericSplitAt :: Integral a => a -> CharString -> (CharString, CharString) Source #
genericReplicate :: Integral a => a -> Char -> CharString Source #