text-1.2.2.0: An efficient packed Unicode text type.

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

Data.Text.Internal.Read

Description

Common internal functions 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
 

data T Source

Constructors

T !Integer !Int 

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