| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
ModularPrelude.Module.LText
Contents
Description
This module provides a first-class version of the Data.Text.Lazy module.
Synopsis
- data LTextModule = LText {
- 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)
- class LTextImplements interface where
- _Data_Text_Lazy_ :: interface
Module interface
data LTextModule Source #
Constructors
| LText | |
Fields
| |
Instances
| Default LTextModule Source # | |
Defined in ModularPrelude.Module.LText Methods def :: LTextModule # | |
| LTextImplements LTextModule Source # | |
Defined in ModularPrelude.Module.LText Methods | |
Module contents
class LTextImplements interface where Source #
Methods
_Data_Text_Lazy_ :: interface Source #
Instances
| LTextImplements LTextModule Source # | |
Defined in ModularPrelude.Module.LText Methods | |