monoid-subclasses-1.0.1: Subclasses of Monoid

Safe HaskellTrustworthy
LanguageHaskell2010

Data.Monoid.Instances.CharVector

Contents

Description

This module contains orphan IsString and TextualMonoid instances of Vector Char.

Orphan instances

IsString (Vector Char) Source # 
Instance details

TextualMonoid (Vector Char) Source # 
Instance details

Methods

fromText :: Text -> Vector Char Source #

singleton :: Char -> Vector Char Source #

splitCharacterPrefix :: Vector Char -> Maybe (Char, Vector Char) Source #

characterPrefix :: Vector Char -> Maybe Char Source #

map :: (Char -> Char) -> Vector Char -> Vector Char Source #

concatMap :: (Char -> Vector Char) -> Vector Char -> Vector Char Source #

toString :: (Vector Char -> String) -> Vector Char -> String Source #

any :: (Char -> Bool) -> Vector Char -> Bool Source #

all :: (Char -> Bool) -> Vector Char -> Bool Source #

foldl :: (a -> Vector Char -> a) -> (a -> Char -> a) -> a -> Vector Char -> a Source #

foldl' :: (a -> Vector Char -> a) -> (a -> Char -> a) -> a -> Vector Char -> a Source #

foldr :: (Vector Char -> a -> a) -> (Char -> a -> a) -> a -> Vector Char -> a Source #

scanl :: (Char -> Char -> Char) -> Char -> Vector Char -> Vector Char Source #

scanl1 :: (Char -> Char -> Char) -> Vector Char -> Vector Char Source #

scanr :: (Char -> Char -> Char) -> Char -> Vector Char -> Vector Char Source #

scanr1 :: (Char -> Char -> Char) -> Vector Char -> Vector Char Source #

mapAccumL :: (a -> Char -> (a, Char)) -> a -> Vector Char -> (a, Vector Char) Source #

mapAccumR :: (a -> Char -> (a, Char)) -> a -> Vector Char -> (a, Vector Char) Source #

takeWhile :: (Vector Char -> Bool) -> (Char -> Bool) -> Vector Char -> Vector Char Source #

dropWhile :: (Vector Char -> Bool) -> (Char -> Bool) -> Vector Char -> Vector Char Source #

break :: (Vector Char -> Bool) -> (Char -> Bool) -> Vector Char -> (Vector Char, Vector Char) Source #

span :: (Vector Char -> Bool) -> (Char -> Bool) -> Vector Char -> (Vector Char, Vector Char) Source #

spanMaybe :: s -> (s -> Vector Char -> Maybe s) -> (s -> Char -> Maybe s) -> Vector Char -> (Vector Char, Vector Char, s) Source #

spanMaybe' :: s -> (s -> Vector Char -> Maybe s) -> (s -> Char -> Maybe s) -> Vector Char -> (Vector Char, Vector Char, s) Source #

split :: (Char -> Bool) -> Vector Char -> [Vector Char] Source #

find :: (Char -> Bool) -> Vector Char -> Maybe Char Source #

elem :: Char -> Vector Char -> Bool Source #

foldl_ :: (a -> Char -> a) -> a -> Vector Char -> a Source #

foldl_' :: (a -> Char -> a) -> a -> Vector Char -> a Source #

foldr_ :: (Char -> a -> a) -> a -> Vector Char -> a Source #

takeWhile_ :: Bool -> (Char -> Bool) -> Vector Char -> Vector Char Source #

dropWhile_ :: Bool -> (Char -> Bool) -> Vector Char -> Vector Char Source #

break_ :: Bool -> (Char -> Bool) -> Vector Char -> (Vector Char, Vector Char) Source #

span_ :: Bool -> (Char -> Bool) -> Vector Char -> (Vector Char, Vector Char) Source #

spanMaybe_ :: s -> (s -> Char -> Maybe s) -> Vector Char -> (Vector Char, Vector Char, s) Source #

spanMaybe_' :: s -> (s -> Char -> Maybe s) -> Vector Char -> (Vector Char, Vector Char, s) Source #