Data.Text

# Strict vs lazy types

# Acceptable data

# Fusion

# Types

data Text

# Creation and elimination

pack

unpack

singleton

empty

# Basic interface

cons

snoc

append

uncons

head

last

tail

init

null

length

compareLength

# Transformations

map

intercalate

intersperse

transpose

reverse

replace

## Case conversion

toCaseFold

toLower

toUpper

## Justification

justifyLeft

justifyRight

center

# Folds

foldl

foldl'

foldl1

foldl1'

foldr

foldr1

## Special folds

concat

concatMap

any

all

maximum

minimum

# Construction

## Scans

scanl

scanl1

scanr

scanr1

## Accumulating maps

mapAccumL

mapAccumR

## Generation and unfolding

replicate

unfoldr

unfoldrN

# Substrings

## Breaking strings

take

drop

takeWhile

dropWhile

dropWhileEnd

dropAround

strip

stripStart

stripEnd

splitAt

breakOn

breakOnEnd

break

span

group

groupBy

inits

tails

## Breaking into many substrings

splitOn

split

chunksOf

## Breaking into lines and words

lines

words

unlines

unwords

# Predicates

isPrefixOf

isSuffixOf

isInfixOf

## View patterns

stripPrefix

stripSuffix

commonPrefixes

# Searching

filter

breakOnAll

find

partition

# Indexing

index

findIndex

count

# Zipping and unzipping

zip

zipWith