text-1.2.0.5: An efficient packed Unicode text type.

Copyright(c) 2014 Bryan O'Sullivan
LicenseBSD-style
Maintainerbos@serpentine.com
Stabilityexperimental
PortabilityGHC
Safe HaskellSafe-Inferred
LanguageHaskell98

Data.Text.Internal.Read

Description

Common internal functiopns for reading textual data.

Documentation

type IReader t a = t -> Either String (a, t) Source

newtype IParser t a Source

Constructors

P 

Fields

runP :: IReader t a
 

Instances

data T Source

Constructors

T !Integer !Int 

perhaps :: a -> IParser t a -> IParser t a Source