etamoo

Safe HaskellNone
LanguageHaskell2010

MOO.String

Contents

Description

Abstract MOO string type

Synopsis

Documentation

Creation and elimination

toBuilder :: MOOString -> Builder Source

toRegexp Source

Arguments

:: Bool

case-matters

-> MOOString 
-> CompiledRegexp 

Basic interface

equal :: MOOString -> MOOString -> Bool Source

Test two strings for indistinguishable (case-sensitive) equality.

Transformations

Folds

foldr :: (Char -> a -> a) -> a -> MOOString -> a Source

Special folds

Substrings

Breaking strings

Breaking into many substrings

Breaking into lines and words

Predicates

validChar :: Char -> Bool Source

May the given character appear in a MOO string?

Indexing