Data.Text.Lazy

# Fusion

# Acceptable data

# Types

data Text

# Creation and elimination

pack

unpack

singleton

empty

fromChunks

toChunks

toStrict

fromStrict

foldrChunks

foldlChunks

# 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

span

breakOn

breakOnEnd

break

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

find

breakOnAll

partition

# Indexing

index

count

# Zipping and unzipping

zip

zipWith