modular-prelude-0.3.0.0: A new Prelude featuring first class modules

Safe HaskellNone

ModularPrelude.Module.LText

Contents

Description

This module provides a first-class version of the Data.Text.Lazy module.

Synopsis

Module interface

data LTextModule Source

Constructors

LText 

Fields

map :: (Char -> Char) -> LText -> LText
 
concatMap :: (Char -> LText) -> LText -> LText
 
filter :: (Char -> Bool) -> LText -> LText
 
length :: LText -> Int64
 
singleton :: Char -> LText
 
null :: LText -> Bool
 
pack :: [Char] -> LText
 
unpack :: LText -> [Char]
 
empty :: LText
 
readFile :: FilePath -> IO LText
 
writeFile :: FilePath -> LText -> IO ()
 
break :: (Char -> Bool) -> LText -> (LText, LText)
 
span :: (Char -> Bool) -> LText -> (LText, LText)
 
dropWhile :: (Char -> Bool) -> LText -> LText
 
takeWhile :: (Char -> Bool) -> LText -> LText
 
any :: (Char -> Bool) -> LText -> Bool
 
all :: (Char -> Bool) -> LText -> Bool
 
splitAt :: Int64 -> LText -> (LText, LText)
 

Module contents

class LTextImplements interface whereSource

Methods

_Data_Text_Lazy_ :: interfaceSource