texts-0.3.2: User-facing operations for dealing with texts

Safe HaskellSafe-Inferred
LanguageHaskell98

Texts.Types

Description

Handy data types for strict and lazy texts, with conversion functions to/from each.

Synopsis

Documentation

type LText = Text Source

Lazy text.

type SText = Text Source

Strict text.

class ToText a where Source

A class for converting to Text.

Methods

toText :: a -> SText Source

toLazyText :: a -> LText Source

class FromText a where Source

A class for converting from Text.

Instances