rio-0.1.4.0: A standard library for Haskell

Safe HaskellSafe
LanguageHaskell2010

RIO.Text.Lazy.Partial

Contents

Description

This module exports all the partial functions from Data.Text.Lazy

Synopsis

Creation and elimination

head :: Text -> Char #

last :: Text -> Char #

tail :: Text -> Text #

init :: Text -> Text #

Transformations

replace :: Text -> Text -> Text -> Text #

Folds

foldl1 :: (Char -> Char -> Char) -> Text -> Char #

foldl1' :: (Char -> Char -> Char) -> Text -> Char #

foldr1 :: (Char -> Char -> Char) -> Text -> Char #

Special folds

Substrings

Breaking strings

breakOn :: Text -> Text -> (Text, Text) #

Breaking into many substrings

splitOn :: Text -> Text -> [Text] #

Searching

breakOnAll :: Text -> Text -> [(Text, Text)] #