Data.JSString

data JSString

Creation and elimination

pack

unpack

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

toTitle

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

takeEnd

drop

dropEnd

takeWhile

dropWhile

dropWhileEnd

dropAround

strip

stripStart

stripEnd

splitAt

breakOn

breakOnEnd

break

span

group

group'

groupBy

inits

tails

Breaking into many substrings

splitOn

splitOn'

split

chunksOf

chunksOf'

Breaking into lines and words

lines

lines'

words

words'

unlines

unwords

Predicates

isPrefixOf

isSuffixOf

isInfixOf

View patterns

stripPrefix

stripSuffix

commonPrefixes

Searching

filter

breakOnAll

breakOnAll'

find

partition

Indexing

index

findIndex

count

Zipping

zip

zipWith