Yi.Rope

data YiString

# Conversions to YiString

fromString

fromText

fromString'

fromText'

# Conversions from YiString

toString

toReverseString

toText

toReverseText

# Functions over content

null

empty

take

drop

length

reverse

countNewLines

lines

lines'

unlines

splitAt

splitAtLine

cons

snoc

singleton

head

last

append

concat

any

all

dropWhile

takeWhile

dropWhileEnd

takeWhileEnd

intercalate

intersperse

filter

map

words

unwords

split

init

tail

span

break

foldl'

replicate

replicateChar

# IO

data ConverterName

unCn

readFile

writeFile

writeFileUsingText

writeFileWithConverter

# Escape latches to underlying content. Note that these are safe

fromRope

withText

unsafeWithText