RIO.Text

Types

data Text

Creation and elimination

pack

unpack

singleton

empty

Basic interface

cons

snoc

append

uncons

null

length

compareLength

Transformations

map

intercalate

intersperse

transpose

reverse

Case conversion

toCaseFold

toLower

toUpper

toTitle

Justification

justifyLeft

justifyRight

center

Folds

foldl

foldl'

foldr

Special folds

concat

concatMap

any

all

Construction

Scans

scanl

scanl1

scanr

scanr1

Accumulating maps

mapAccumL

mapAccumR

Generation and unfolding

replicate

unfoldr

unfoldrN

Substrings

Breaking strings

take

takeEnd

drop

dropEnd

takeWhile

takeWhileEnd

dropWhile

dropWhileEnd

dropAround

strip

stripStart

stripEnd

splitAt

break

span

group

groupBy

inits

tails

Breaking into many substrings

split

chunksOf

Breaking into lines and words

lines

linesCR

words

unlines

unwords

Predicates

isPrefixOf

isSuffixOf

isInfixOf

View patterns

stripPrefix

stripSuffix

dropPrefix

dropSuffix

commonPrefixes

Searching

filter

find

partition

Indexing

index

findIndex

Zipping

zip

zipWith

Low level operations

copy

unpackCString#

Encoding

encodeUtf8

decodeUtf8With

decodeUtf8'

lenientDecode