extra
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Read.Extra

Description

Deprecated: Use Text.Read directly

This module provides Text.Read with functions added in later versions.

Currently this module has no functionality beyond Text.Read.

Documentation

lex :: ReadS String #

readParen :: Bool -> ReadS a -> ReadS a #

get :: ReadPrec Char #

lift :: ReadP a -> ReadPrec a #

look :: ReadPrec String #

prec :: Prec -> ReadPrec a -> ReadPrec a #

readP_to_Prec :: (Int -> ReadP a) -> ReadPrec a #

readPrec_to_P :: ReadPrec a -> Int -> ReadP a #

readPrec_to_S :: ReadPrec a -> Int -> ReadS a #

readS_to_Prec :: (Int -> ReadS a) -> ReadPrec a #

read :: Read a => String -> a #

readEither :: Read a => String -> Either String a #

readMaybe :: Read a => String -> Maybe a #

reads :: Read a => ReadS a #

class Read a where #

Minimal complete definition

readsPrec | readPrec

Methods

readsPrec :: Int -> ReadS a #

readList :: ReadS [a] #

readPrec :: ReadPrec a #

readListPrec :: ReadPrec [a] #

Instances

Instances details
Read ByteString # 
Instance details

Defined in Data.ByteString.Internal.Type

Methods

readsPrec :: Int -> ReadS ByteString #

readList :: ReadS [ByteString] #

readPrec :: ReadPrec ByteString #

readListPrec :: ReadPrec [ByteString] #

Read ByteString # 
Instance details

Defined in Data.ByteString.Lazy.Internal

Methods

readsPrec :: Int -> ReadS ByteString #

readList :: ReadS [ByteString] #

readPrec :: ReadPrec ByteString #

readListPrec :: ReadPrec [ByteString] #

Read ShortByteString # 
Instance details

Defined in Data.ByteString.Short.Internal

Methods

readsPrec :: Int -> ReadS ShortByteString #

readList :: ReadS [ShortByteString] #

readPrec :: ReadPrec ShortByteString #

readListPrec :: ReadPrec [ShortByteString] #

Read Clock # 
Instance details

Defined in System.Clock

Methods

readsPrec :: Int -> ReadS Clock #

readList :: ReadS [Clock] #

readPrec :: ReadPrec Clock #

readListPrec :: ReadPrec [Clock] #

Read TimeSpec # 
Instance details

Defined in System.Clock

Methods

readsPrec :: Int -> ReadS TimeSpec #

readList :: ReadS [TimeSpec] #

readPrec :: ReadPrec TimeSpec #

readListPrec :: ReadPrec [TimeSpec] #

Read Seconds # 
Instance details

Defined in System.Clock.Seconds

Methods

readsPrec :: Int -> ReadS Seconds #

readList :: ReadS [Seconds] #

readPrec :: ReadPrec Seconds #

readListPrec :: ReadPrec [Seconds] #

Read FileType # 
Instance details

Defined in System.Directory.Internal.Common

Methods

readsPrec :: Int -> ReadS FileType #

readList :: ReadS [FileType] #

readPrec :: ReadPrec FileType #

readListPrec :: ReadPrec [FileType] #

Read Permissions # 
Instance details

Defined in System.Directory.Internal.Common

Read XdgDirectory # 
Instance details

Defined in System.Directory.Internal.Common

Read XdgDirectoryList # 
Instance details

Defined in System.Directory.Internal.Common

Read Void # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS Void #

readList :: ReadS [Void] #

readPrec :: ReadPrec Void #

readListPrec :: ReadPrec [Void] #

Read All # 
Instance details

Defined in GHC.Internal.Data.Semigroup.Internal

Read Any # 
Instance details

Defined in GHC.Internal.Data.Semigroup.Internal

Read Version # 
Instance details

Defined in GHC.Internal.Data.Version

Read CBool # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CBool #

readList :: ReadS [CBool] #

readPrec :: ReadPrec CBool #

readListPrec :: ReadPrec [CBool] #

Read CChar # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CChar #

readList :: ReadS [CChar] #

readPrec :: ReadPrec CChar #

readListPrec :: ReadPrec [CChar] #

Read CClock # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CClock #

readList :: ReadS [CClock] #

readPrec :: ReadPrec CClock #

readListPrec :: ReadPrec [CClock] #

Read CDouble # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CDouble #

readList :: ReadS [CDouble] #

readPrec :: ReadPrec CDouble #

readListPrec :: ReadPrec [CDouble] #

Read CFloat # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CFloat #

readList :: ReadS [CFloat] #

readPrec :: ReadPrec CFloat #

readListPrec :: ReadPrec [CFloat] #

Read CInt # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CInt #

readList :: ReadS [CInt] #

readPrec :: ReadPrec CInt #

readListPrec :: ReadPrec [CInt] #

Read CIntMax # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CIntMax #

readList :: ReadS [CIntMax] #

readPrec :: ReadPrec CIntMax #

readListPrec :: ReadPrec [CIntMax] #

Read CIntPtr # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CIntPtr #

readList :: ReadS [CIntPtr] #

readPrec :: ReadPrec CIntPtr #

readListPrec :: ReadPrec [CIntPtr] #

Read CLLong # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CLLong #

readList :: ReadS [CLLong] #

readPrec :: ReadPrec CLLong #

readListPrec :: ReadPrec [CLLong] #

Read CLong # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CLong #

readList :: ReadS [CLong] #

readPrec :: ReadPrec CLong #

readListPrec :: ReadPrec [CLong] #

Read CPtrdiff # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CPtrdiff #

readList :: ReadS [CPtrdiff] #

readPrec :: ReadPrec CPtrdiff #

readListPrec :: ReadPrec [CPtrdiff] #

Read CSChar # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CSChar #

readList :: ReadS [CSChar] #

readPrec :: ReadPrec CSChar #

readListPrec :: ReadPrec [CSChar] #

Read CSUSeconds # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CSUSeconds #

readList :: ReadS [CSUSeconds] #

readPrec :: ReadPrec CSUSeconds #

readListPrec :: ReadPrec [CSUSeconds] #

Read CShort # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CShort #

readList :: ReadS [CShort] #

readPrec :: ReadPrec CShort #

readListPrec :: ReadPrec [CShort] #

Read CSigAtomic # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CSigAtomic #

readList :: ReadS [CSigAtomic] #

readPrec :: ReadPrec CSigAtomic #

readListPrec :: ReadPrec [CSigAtomic] #

Read CSize # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CSize #

readList :: ReadS [CSize] #

readPrec :: ReadPrec CSize #

readListPrec :: ReadPrec [CSize] #

Read CTime # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CTime #

readList :: ReadS [CTime] #

readPrec :: ReadPrec CTime #

readListPrec :: ReadPrec [CTime] #

Read CUChar # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CUChar #

readList :: ReadS [CUChar] #

readPrec :: ReadPrec CUChar #

readListPrec :: ReadPrec [CUChar] #

Read CUInt # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CUInt #

readList :: ReadS [CUInt] #

readPrec :: ReadPrec CUInt #

readListPrec :: ReadPrec [CUInt] #

Read CUIntMax # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CUIntMax #

readList :: ReadS [CUIntMax] #

readPrec :: ReadPrec CUIntMax #

readListPrec :: ReadPrec [CUIntMax] #

Read CUIntPtr # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CUIntPtr #

readList :: ReadS [CUIntPtr] #

readPrec :: ReadPrec CUIntPtr #

readListPrec :: ReadPrec [CUIntPtr] #

Read CULLong # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CULLong #

readList :: ReadS [CULLong] #

readPrec :: ReadPrec CULLong #

readListPrec :: ReadPrec [CULLong] #

Read CULong # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CULong #

readList :: ReadS [CULong] #

readPrec :: ReadPrec CULong #

readListPrec :: ReadPrec [CULong] #

Read CUSeconds # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CUSeconds #

readList :: ReadS [CUSeconds] #

readPrec :: ReadPrec CUSeconds #

readListPrec :: ReadPrec [CUSeconds] #

Read CUShort # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CUShort #

readList :: ReadS [CUShort] #

readPrec :: ReadPrec CUShort #

readListPrec :: ReadPrec [CUShort] #

Read CWchar # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CWchar #

readList :: ReadS [CWchar] #

readPrec :: ReadPrec CWchar #

readListPrec :: ReadPrec [CWchar] #

Read Associativity # 
Instance details

Defined in GHC.Internal.Generics

Methods

readsPrec :: Int -> ReadS Associativity #

readList :: ReadS [Associativity] #

readPrec :: ReadPrec Associativity #

readListPrec :: ReadPrec [Associativity] #

Read DecidedStrictness # 
Instance details

Defined in GHC.Internal.Generics

Methods

readsPrec :: Int -> ReadS DecidedStrictness #

readList :: ReadS [DecidedStrictness] #

readPrec :: ReadPrec DecidedStrictness #

readListPrec :: ReadPrec [DecidedStrictness] #

Read Fixity # 
Instance details

Defined in GHC.Internal.Generics

Methods

readsPrec :: Int -> ReadS Fixity #

readList :: ReadS [Fixity] #

readPrec :: ReadPrec Fixity #

readListPrec :: ReadPrec [Fixity] #

Read SourceStrictness # 
Instance details

Defined in GHC.Internal.Generics

Methods

readsPrec :: Int -> ReadS SourceStrictness #

readList :: ReadS [SourceStrictness] #

readPrec :: ReadPrec SourceStrictness #

readListPrec :: ReadPrec [SourceStrictness] #

Read SourceUnpackedness # 
Instance details

Defined in GHC.Internal.Generics

Methods

readsPrec :: Int -> ReadS SourceUnpackedness #

readList :: ReadS [SourceUnpackedness] #

readPrec :: ReadPrec SourceUnpackedness #

readListPrec :: ReadPrec [SourceUnpackedness] #

Read SeekMode # 
Instance details

Defined in GHC.Internal.IO.Device

Read ExitCode # 
Instance details

Defined in GHC.Internal.IO.Exception

Methods

readsPrec :: Int -> ReadS ExitCode #

readList :: ReadS [ExitCode] #

readPrec :: ReadPrec ExitCode #

readListPrec :: ReadPrec [ExitCode] #

Read BufferMode # 
Instance details

Defined in GHC.Internal.IO.Handle.Types

Read Newline # 
Instance details

Defined in GHC.Internal.IO.Handle.Types

Read NewlineMode # 
Instance details

Defined in GHC.Internal.IO.Handle.Types

Read IOMode # 
Instance details

Defined in GHC.Internal.IO.IOMode

Read Int16 # 
Instance details

Defined in GHC.Internal.Int

Methods

readsPrec :: Int -> ReadS Int16 #

readList :: ReadS [Int16] #

readPrec :: ReadPrec Int16 #

readListPrec :: ReadPrec [Int16] #

Read Int32 # 
Instance details

Defined in GHC.Internal.Int

Methods

readsPrec :: Int -> ReadS Int32 #

readList :: ReadS [Int32] #

readPrec :: ReadPrec Int32 #

readListPrec :: ReadPrec [Int32] #

Read Int64 # 
Instance details

Defined in GHC.Internal.Int

Methods

readsPrec :: Int -> ReadS Int64 #

readList :: ReadS [Int64] #

readPrec :: ReadPrec Int64 #

readListPrec :: ReadPrec [Int64] #

Read Int8 # 
Instance details

Defined in GHC.Internal.Int

Methods

readsPrec :: Int -> ReadS Int8 #

readList :: ReadS [Int8] #

readPrec :: ReadPrec Int8 #

readListPrec :: ReadPrec [Int8] #

Read CBlkCnt # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CBlkCnt #

readList :: ReadS [CBlkCnt] #

readPrec :: ReadPrec CBlkCnt #

readListPrec :: ReadPrec [CBlkCnt] #

Read CBlkSize # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CBlkSize #

readList :: ReadS [CBlkSize] #

readPrec :: ReadPrec CBlkSize #

readListPrec :: ReadPrec [CBlkSize] #

Read CCc # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CCc #

readList :: ReadS [CCc] #

readPrec :: ReadPrec CCc #

readListPrec :: ReadPrec [CCc] #

Read CClockId # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CClockId #

readList :: ReadS [CClockId] #

readPrec :: ReadPrec CClockId #

readListPrec :: ReadPrec [CClockId] #

Read CDev # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CDev #

readList :: ReadS [CDev] #

readPrec :: ReadPrec CDev #

readListPrec :: ReadPrec [CDev] #

Read CFsBlkCnt # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CFsBlkCnt #

readList :: ReadS [CFsBlkCnt] #

readPrec :: ReadPrec CFsBlkCnt #

readListPrec :: ReadPrec [CFsBlkCnt] #

Read CFsFilCnt # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CFsFilCnt #

readList :: ReadS [CFsFilCnt] #

readPrec :: ReadPrec CFsFilCnt #

readListPrec :: ReadPrec [CFsFilCnt] #

Read CGid # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CGid #

readList :: ReadS [CGid] #

readPrec :: ReadPrec CGid #

readListPrec :: ReadPrec [CGid] #

Read CId # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CId #

readList :: ReadS [CId] #

readPrec :: ReadPrec CId #

readListPrec :: ReadPrec [CId] #

Read CIno # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CIno #

readList :: ReadS [CIno] #

readPrec :: ReadPrec CIno #

readListPrec :: ReadPrec [CIno] #

Read CKey # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CKey #

readList :: ReadS [CKey] #

readPrec :: ReadPrec CKey #

readListPrec :: ReadPrec [CKey] #

Read CMode # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CMode #

readList :: ReadS [CMode] #

readPrec :: ReadPrec CMode #

readListPrec :: ReadPrec [CMode] #

Read CNfds # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CNfds #

readList :: ReadS [CNfds] #

readPrec :: ReadPrec CNfds #

readListPrec :: ReadPrec [CNfds] #

Read CNlink # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CNlink #

readList :: ReadS [CNlink] #

readPrec :: ReadPrec CNlink #

readListPrec :: ReadPrec [CNlink] #

Read COff # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS COff #

readList :: ReadS [COff] #

readPrec :: ReadPrec COff #

readListPrec :: ReadPrec [COff] #

Read CPid # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CPid #

readList :: ReadS [CPid] #

readPrec :: ReadPrec CPid #

readListPrec :: ReadPrec [CPid] #

Read CRLim # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CRLim #

readList :: ReadS [CRLim] #

readPrec :: ReadPrec CRLim #

readListPrec :: ReadPrec [CRLim] #

Read CSocklen # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CSocklen #

readList :: ReadS [CSocklen] #

readPrec :: ReadPrec CSocklen #

readListPrec :: ReadPrec [CSocklen] #

Read CSpeed # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CSpeed #

readList :: ReadS [CSpeed] #

readPrec :: ReadPrec CSpeed #

readListPrec :: ReadPrec [CSpeed] #

Read CSsize # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CSsize #

readList :: ReadS [CSsize] #

readPrec :: ReadPrec CSsize #

readListPrec :: ReadPrec [CSsize] #

Read CTcflag # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CTcflag #

readList :: ReadS [CTcflag] #

readPrec :: ReadPrec CTcflag #

readListPrec :: ReadPrec [CTcflag] #

Read CUid # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS CUid #

readList :: ReadS [CUid] #

readPrec :: ReadPrec CUid #

readListPrec :: ReadPrec [CUid] #

Read Fd # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

readsPrec :: Int -> ReadS Fd #

readList :: ReadS [Fd] #

readPrec :: ReadPrec Fd #

readListPrec :: ReadPrec [Fd] #

Read Lexeme # 
Instance details

Defined in GHC.Internal.Read

Read GeneralCategory # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS GeneralCategory #

readList :: ReadS [GeneralCategory] #

readPrec :: ReadPrec GeneralCategory #

readListPrec :: ReadPrec [GeneralCategory] #

Read Word16 # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS Word16 #

readList :: ReadS [Word16] #

readPrec :: ReadPrec Word16 #

readListPrec :: ReadPrec [Word16] #

Read Word32 # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS Word32 #

readList :: ReadS [Word32] #

readPrec :: ReadPrec Word32 #

readListPrec :: ReadPrec [Word32] #

Read Word64 # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS Word64 #

readList :: ReadS [Word64] #

readPrec :: ReadPrec Word64 #

readListPrec :: ReadPrec [Word64] #

Read Word8 # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS Word8 #

readList :: ReadS [Word8] #

readPrec :: ReadPrec Word8 #

readListPrec :: ReadPrec [Word8] #

Read Ordering # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS Ordering #

readList :: ReadS [Ordering] #

readPrec :: ReadPrec Ordering #

readListPrec :: ReadPrec [Ordering] #

Read CommunicationHandle # 
Instance details

Defined in System.Process.CommunicationHandle.Internal

Methods

readsPrec :: Int -> ReadS CommunicationHandle #

readList :: ReadS [CommunicationHandle] #

readPrec :: ReadPrec CommunicationHandle #

readListPrec :: ReadPrec [CommunicationHandle] #

Read CalendarDiffDays # 
Instance details

Defined in Data.Time.Format.ISO8601

Methods

readsPrec :: Int -> ReadS CalendarDiffDays #

readList :: ReadS [CalendarDiffDays] #

readPrec :: ReadPrec CalendarDiffDays #

readListPrec :: ReadPrec [CalendarDiffDays] #

Read Day # 
Instance details

Defined in Data.Time.Format.Parse

Methods

readsPrec :: Int -> ReadS Day #

readList :: ReadS [Day] #

readPrec :: ReadPrec Day #

readListPrec :: ReadPrec [Day] #

Read Month # 
Instance details

Defined in Data.Time.Calendar.Month

Methods

readsPrec :: Int -> ReadS Month #

readList :: ReadS [Month] #

readPrec :: ReadPrec Month #

readListPrec :: ReadPrec [Month] #

Read Quarter # 
Instance details

Defined in Data.Time.Calendar.Quarter

Methods

readsPrec :: Int -> ReadS Quarter #

readList :: ReadS [Quarter] #

readPrec :: ReadPrec Quarter #

readListPrec :: ReadPrec [Quarter] #

Read QuarterOfYear # 
Instance details

Defined in Data.Time.Calendar.Quarter

Methods

readsPrec :: Int -> ReadS QuarterOfYear #

readList :: ReadS [QuarterOfYear] #

readPrec :: ReadPrec QuarterOfYear #

readListPrec :: ReadPrec [QuarterOfYear] #

Read DayOfWeek # 
Instance details

Defined in Data.Time.Calendar.Week

Methods

readsPrec :: Int -> ReadS DayOfWeek #

readList :: ReadS [DayOfWeek] #

readPrec :: ReadPrec DayOfWeek #

readListPrec :: ReadPrec [DayOfWeek] #

Read DiffTime # 
Instance details

Defined in Data.Time.Clock.Internal.DiffTime

Methods

readsPrec :: Int -> ReadS DiffTime #

readList :: ReadS [DiffTime] #

readPrec :: ReadPrec DiffTime #

readListPrec :: ReadPrec [DiffTime] #

Read NominalDiffTime # 
Instance details

Defined in Data.Time.Clock.Internal.NominalDiffTime

Methods

readsPrec :: Int -> ReadS NominalDiffTime #

readList :: ReadS [NominalDiffTime] #

readPrec :: ReadPrec NominalDiffTime #

readListPrec :: ReadPrec [NominalDiffTime] #

Read UTCTime # 
Instance details

Defined in Data.Time.Format.Parse

Methods

readsPrec :: Int -> ReadS UTCTime #

readList :: ReadS [UTCTime] #

readPrec :: ReadPrec UTCTime #

readListPrec :: ReadPrec [UTCTime] #

Read UniversalTime # 
Instance details

Defined in Data.Time.Format.Parse

Methods

readsPrec :: Int -> ReadS UniversalTime #

readList :: ReadS [UniversalTime] #

readPrec :: ReadPrec UniversalTime #

readListPrec :: ReadPrec [UniversalTime] #

Read CalendarDiffTime # 
Instance details

Defined in Data.Time.Format.ISO8601

Methods

readsPrec :: Int -> ReadS CalendarDiffTime #

readList :: ReadS [CalendarDiffTime] #

readPrec :: ReadPrec CalendarDiffTime #

readListPrec :: ReadPrec [CalendarDiffTime] #

Read LocalTime # 
Instance details

Defined in Data.Time.Format.Parse

Methods

readsPrec :: Int -> ReadS LocalTime #

readList :: ReadS [LocalTime] #

readPrec :: ReadPrec LocalTime #

readListPrec :: ReadPrec [LocalTime] #

Read TimeOfDay # 
Instance details

Defined in Data.Time.Format.Parse

Methods

readsPrec :: Int -> ReadS TimeOfDay #

readList :: ReadS [TimeOfDay] #

readPrec :: ReadPrec TimeOfDay #

readListPrec :: ReadPrec [TimeOfDay] #

Read TimeZone # 
Instance details

Defined in Data.Time.Format.Parse

Methods

readsPrec :: Int -> ReadS TimeZone #

readList :: ReadS [TimeZone] #

readPrec :: ReadPrec TimeZone #

readListPrec :: ReadPrec [TimeZone] #

Read ZonedTime # 
Instance details

Defined in Data.Time.Format.Parse

Methods

readsPrec :: Int -> ReadS ZonedTime #

readList :: ReadS [ZonedTime] #

readPrec :: ReadPrec ZonedTime #

readListPrec :: ReadPrec [ZonedTime] #

Read RTLDFlags # 
Instance details

Defined in System.Posix.DynamicLinker.Prim

Methods

readsPrec :: Int -> ReadS RTLDFlags #

readList :: ReadS [RTLDFlags] #

readPrec :: ReadPrec RTLDFlags #

readListPrec :: ReadPrec [RTLDFlags] #

Read Integer # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS Integer #

readList :: ReadS [Integer] #

readPrec :: ReadPrec Integer #

readListPrec :: ReadPrec [Integer] #

Read Natural # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS Natural #

readList :: ReadS [Natural] #

readPrec :: ReadPrec Natural #

readListPrec :: ReadPrec [Natural] #

Read () # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS () #

readList :: ReadS [()] #

readPrec :: ReadPrec () #

readListPrec :: ReadPrec [()] #

Read Bool # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS Bool #

readList :: ReadS [Bool] #

readPrec :: ReadPrec Bool #

readListPrec :: ReadPrec [Bool] #

Read Char # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS Char #

readList :: ReadS [Char] #

readPrec :: ReadPrec Char #

readListPrec :: ReadPrec [Char] #

Read Double # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS Double #

readList :: ReadS [Double] #

readPrec :: ReadPrec Double #

readListPrec :: ReadPrec [Double] #

Read Float # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS Float #

readList :: ReadS [Float] #

readPrec :: ReadPrec Float #

readListPrec :: ReadPrec [Float] #

Read Int # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS Int #

readList :: ReadS [Int] #

readPrec :: ReadPrec Int #

readListPrec :: ReadPrec [Int] #

Read Word # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS Word #

readList :: ReadS [Word] #

readPrec :: ReadPrec Word #

readListPrec :: ReadPrec [Word] #

Read a => Read (Complex a) # 
Instance details

Defined in Data.Complex

Methods

readsPrec :: Int -> ReadS (Complex a) #

readList :: ReadS [Complex a] #

readPrec :: ReadPrec (Complex a) #

readListPrec :: ReadPrec [Complex a] #

Read a => Read (First a) # 
Instance details

Defined in Data.Semigroup

Methods

readsPrec :: Int -> ReadS (First a) #

readList :: ReadS [First a] #

readPrec :: ReadPrec (First a) #

readListPrec :: ReadPrec [First a] #

Read a => Read (Last a) # 
Instance details

Defined in Data.Semigroup

Methods

readsPrec :: Int -> ReadS (Last a) #

readList :: ReadS [Last a] #

readPrec :: ReadPrec (Last a) #

readListPrec :: ReadPrec [Last a] #

Read a => Read (Max a) # 
Instance details

Defined in Data.Semigroup

Methods

readsPrec :: Int -> ReadS (Max a) #

readList :: ReadS [Max a] #

readPrec :: ReadPrec (Max a) #

readListPrec :: ReadPrec [Max a] #

Read a => Read (Min a) # 
Instance details

Defined in Data.Semigroup

Methods

readsPrec :: Int -> ReadS (Min a) #

readList :: ReadS [Min a] #

readPrec :: ReadPrec (Min a) #

readListPrec :: ReadPrec [Min a] #

Read m => Read (WrappedMonoid m) # 
Instance details

Defined in Data.Semigroup

Methods

readsPrec :: Int -> ReadS (WrappedMonoid m) #

readList :: ReadS [WrappedMonoid m] #

readPrec :: ReadPrec (WrappedMonoid m) #

readListPrec :: ReadPrec [WrappedMonoid m] #

Read a => Read (NonEmpty a) # 
Instance details

Defined in GHC.Internal.Read

Read a => Read (Identity a) # 
Instance details

Defined in GHC.Internal.Data.Functor.Identity

Methods

readsPrec :: Int -> ReadS (Identity a) #

readList :: ReadS [Identity a] #

readPrec :: ReadPrec (Identity a) #

readListPrec :: ReadPrec [Identity a] #

Read a => Read (First a) # 
Instance details

Defined in GHC.Internal.Data.Monoid

Read a => Read (Last a) # 
Instance details

Defined in GHC.Internal.Data.Monoid

Read a => Read (Dual a) # 
Instance details

Defined in GHC.Internal.Data.Semigroup.Internal

Read a => Read (Product a) # 
Instance details

Defined in GHC.Internal.Data.Semigroup.Internal

Read a => Read (Sum a) # 
Instance details

Defined in GHC.Internal.Data.Semigroup.Internal

Methods

readsPrec :: Int -> ReadS (Sum a) #

readList :: ReadS [Sum a] #

readPrec :: ReadPrec (Sum a) #

readListPrec :: ReadPrec [Sum a] #

Read p => Read (Par1 p) # 
Instance details

Defined in GHC.Internal.Generics

Methods

readsPrec :: Int -> ReadS (Par1 p) #

readList :: ReadS [Par1 p] #

readPrec :: ReadPrec (Par1 p) #

readListPrec :: ReadPrec [Par1 p] #

(Integral a, Read a) => Read (Ratio a) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (Ratio a) #

readList :: ReadS [Ratio a] #

readPrec :: ReadPrec (Ratio a) #

readListPrec :: ReadPrec [Ratio a] #

Read a => Read (Maybe a) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (Maybe a) #

readList :: ReadS [Maybe a] #

readPrec :: ReadPrec (Maybe a) #

readListPrec :: ReadPrec [Maybe a] #

Read a => Read (Solo a) # 
Instance details

Defined in GHC.Internal.Read

Read a => Read [a] # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS [a] #

readList :: ReadS [[a]] #

readPrec :: ReadPrec [a] #

readListPrec :: ReadPrec [[a]] #

HasResolution a => Read (Fixed a) # 
Instance details

Defined in Data.Fixed

Methods

readsPrec :: Int -> ReadS (Fixed a) #

readList :: ReadS [Fixed a] #

readPrec :: ReadPrec (Fixed a) #

readListPrec :: ReadPrec [Fixed a] #

(Read a, Read b) => Read (Arg a b) # 
Instance details

Defined in Data.Semigroup

Methods

readsPrec :: Int -> ReadS (Arg a b) #

readList :: ReadS [Arg a b] #

readPrec :: ReadPrec (Arg a b) #

readListPrec :: ReadPrec [Arg a b] #

(Ix a, Read a, Read b) => Read (Array a b) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (Array a b) #

readList :: ReadS [Array a b] #

readPrec :: ReadPrec (Array a b) #

readListPrec :: ReadPrec [Array a b] #

(Read a, Read b) => Read (Either a b) # 
Instance details

Defined in GHC.Internal.Data.Either

Methods

readsPrec :: Int -> ReadS (Either a b) #

readList :: ReadS [Either a b] #

readPrec :: ReadPrec (Either a b) #

readListPrec :: ReadPrec [Either a b] #

Read (Proxy t) # 
Instance details

Defined in GHC.Internal.Data.Proxy

Read (U1 p) # 
Instance details

Defined in GHC.Internal.Generics

Methods

readsPrec :: Int -> ReadS (U1 p) #

readList :: ReadS [U1 p] #

readPrec :: ReadPrec (U1 p) #

readListPrec :: ReadPrec [U1 p] #

Read (V1 p) # 
Instance details

Defined in GHC.Internal.Generics

Methods

readsPrec :: Int -> ReadS (V1 p) #

readList :: ReadS [V1 p] #

readPrec :: ReadPrec (V1 p) #

readListPrec :: ReadPrec [V1 p] #

(Read1 m, Read a) => Read (MaybeT m a) # 
Instance details

Defined in Control.Monad.Trans.Maybe

Methods

readsPrec :: Int -> ReadS (MaybeT m a) #

readList :: ReadS [MaybeT m a] #

readPrec :: ReadPrec (MaybeT m a) #

readListPrec :: ReadPrec [MaybeT m a] #

(Read a, Read b) => Read (a, b) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (a, b) #

readList :: ReadS [(a, b)] #

readPrec :: ReadPrec (a, b) #

readListPrec :: ReadPrec [(a, b)] #

Read a => Read (Const a b) # 
Instance details

Defined in GHC.Internal.Data.Functor.Const

Methods

readsPrec :: Int -> ReadS (Const a b) #

readList :: ReadS [Const a b] #

readPrec :: ReadPrec (Const a b) #

readListPrec :: ReadPrec [Const a b] #

Read (f a) => Read (Ap f a) # 
Instance details

Defined in GHC.Internal.Data.Monoid

Methods

readsPrec :: Int -> ReadS (Ap f a) #

readList :: ReadS [Ap f a] #

readPrec :: ReadPrec (Ap f a) #

readListPrec :: ReadPrec [Ap f a] #

Read (f a) => Read (Alt f a) # 
Instance details

Defined in GHC.Internal.Data.Semigroup.Internal

Methods

readsPrec :: Int -> ReadS (Alt f a) #

readList :: ReadS [Alt f a] #

readPrec :: ReadPrec (Alt f a) #

readListPrec :: ReadPrec [Alt f a] #

a ~ b => Read (a :~: b) # 
Instance details

Defined in GHC.Internal.Data.Type.Equality

Methods

readsPrec :: Int -> ReadS (a :~: b) #

readList :: ReadS [a :~: b] #

readPrec :: ReadPrec (a :~: b) #

readListPrec :: ReadPrec [a :~: b] #

Read (f p) => Read (Rec1 f p) # 
Instance details

Defined in GHC.Internal.Generics

Methods

readsPrec :: Int -> ReadS (Rec1 f p) #

readList :: ReadS [Rec1 f p] #

readPrec :: ReadPrec (Rec1 f p) #

readListPrec :: ReadPrec [Rec1 f p] #

(Read e, Read1 m, Read a) => Read (ExceptT e m a) # 
Instance details

Defined in Control.Monad.Trans.Except

Methods

readsPrec :: Int -> ReadS (ExceptT e m a) #

readList :: ReadS [ExceptT e m a] #

readPrec :: ReadPrec (ExceptT e m a) #

readListPrec :: ReadPrec [ExceptT e m a] #

(Read1 f, Read a) => Read (IdentityT f a) # 
Instance details

Defined in Control.Monad.Trans.Identity

Methods

readsPrec :: Int -> ReadS (IdentityT f a) #

readList :: ReadS [IdentityT f a] #

readPrec :: ReadPrec (IdentityT f a) #

readListPrec :: ReadPrec [IdentityT f a] #

(Read w, Read1 m, Read a) => Read (WriterT w m a) # 
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

Methods

readsPrec :: Int -> ReadS (WriterT w m a) #

readList :: ReadS [WriterT w m a] #

readPrec :: ReadPrec (WriterT w m a) #

readListPrec :: ReadPrec [WriterT w m a] #

(Read w, Read1 m, Read a) => Read (WriterT w m a) # 
Instance details

Defined in Control.Monad.Trans.Writer.Strict

Methods

readsPrec :: Int -> ReadS (WriterT w m a) #

readList :: ReadS [WriterT w m a] #

readPrec :: ReadPrec (WriterT w m a) #

readListPrec :: ReadPrec [WriterT w m a] #

(Read a, Read b, Read c) => Read (a, b, c) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (a, b, c) #

readList :: ReadS [(a, b, c)] #

readPrec :: ReadPrec (a, b, c) #

readListPrec :: ReadPrec [(a, b, c)] #

(Read (f a), Read (g a)) => Read (Product f g a) # 
Instance details

Defined in Data.Functor.Product

Methods

readsPrec :: Int -> ReadS (Product f g a) #

readList :: ReadS [Product f g a] #

readPrec :: ReadPrec (Product f g a) #

readListPrec :: ReadPrec [Product f g a] #

(Read (f a), Read (g a)) => Read (Sum f g a) # 
Instance details

Defined in Data.Functor.Sum

Methods

readsPrec :: Int -> ReadS (Sum f g a) #

readList :: ReadS [Sum f g a] #

readPrec :: ReadPrec (Sum f g a) #

readListPrec :: ReadPrec [Sum f g a] #

a ~~ b => Read (a :~~: b) # 
Instance details

Defined in GHC.Internal.Data.Type.Equality

Methods

readsPrec :: Int -> ReadS (a :~~: b) #

readList :: ReadS [a :~~: b] #

readPrec :: ReadPrec (a :~~: b) #

readListPrec :: ReadPrec [a :~~: b] #

(Read (f p), Read (g p)) => Read ((f :*: g) p) # 
Instance details

Defined in GHC.Internal.Generics

Methods

readsPrec :: Int -> ReadS ((f :*: g) p) #

readList :: ReadS [(f :*: g) p] #

readPrec :: ReadPrec ((f :*: g) p) #

readListPrec :: ReadPrec [(f :*: g) p] #

(Read (f p), Read (g p)) => Read ((f :+: g) p) # 
Instance details

Defined in GHC.Internal.Generics

Methods

readsPrec :: Int -> ReadS ((f :+: g) p) #

readList :: ReadS [(f :+: g) p] #

readPrec :: ReadPrec ((f :+: g) p) #

readListPrec :: ReadPrec [(f :+: g) p] #

Read c => Read (K1 i c p) # 
Instance details

Defined in GHC.Internal.Generics

Methods

readsPrec :: Int -> ReadS (K1 i c p) #

readList :: ReadS [K1 i c p] #

readPrec :: ReadPrec (K1 i c p) #

readListPrec :: ReadPrec [K1 i c p] #

(Read a, Read b, Read c, Read d) => Read (a, b, c, d) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d) #

readList :: ReadS [(a, b, c, d)] #

readPrec :: ReadPrec (a, b, c, d) #

readListPrec :: ReadPrec [(a, b, c, d)] #

Read (f (g a)) => Read (Compose f g a) # 
Instance details

Defined in Data.Functor.Compose

Methods

readsPrec :: Int -> ReadS (Compose f g a) #

readList :: ReadS [Compose f g a] #

readPrec :: ReadPrec (Compose f g a) #

readListPrec :: ReadPrec [Compose f g a] #

Read (f (g p)) => Read ((f :.: g) p) # 
Instance details

Defined in GHC.Internal.Generics

Methods

readsPrec :: Int -> ReadS ((f :.: g) p) #

readList :: ReadS [(f :.: g) p] #

readPrec :: ReadPrec ((f :.: g) p) #

readListPrec :: ReadPrec [(f :.: g) p] #

Read (f p) => Read (M1 i c f p) # 
Instance details

Defined in GHC.Internal.Generics

Methods

readsPrec :: Int -> ReadS (M1 i c f p) #

readList :: ReadS [M1 i c f p] #

readPrec :: ReadPrec (M1 i c f p) #

readListPrec :: ReadPrec [M1 i c f p] #

(Read a, Read b, Read c, Read d, Read e) => Read (a, b, c, d, e) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e) #

readList :: ReadS [(a, b, c, d, e)] #

readPrec :: ReadPrec (a, b, c, d, e) #

readListPrec :: ReadPrec [(a, b, c, d, e)] #

(Read a, Read b, Read c, Read d, Read e, Read f) => Read (a, b, c, d, e, f) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f) #

readList :: ReadS [(a, b, c, d, e, f)] #

readPrec :: ReadPrec (a, b, c, d, e, f) #

readListPrec :: ReadPrec [(a, b, c, d, e, f)] #

(Read a, Read b, Read c, Read d, Read e, Read f, Read g) => Read (a, b, c, d, e, f, g) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g) #

readList :: ReadS [(a, b, c, d, e, f, g)] #

readPrec :: ReadPrec (a, b, c, d, e, f, g) #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g)] #

(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h) => Read (a, b, c, d, e, f, g, h) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h) #

readList :: ReadS [(a, b, c, d, e, f, g, h)] #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h) #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h)] #

(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h, Read i) => Read (a, b, c, d, e, f, g, h, i) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h, i) #

readList :: ReadS [(a, b, c, d, e, f, g, h, i)] #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h, i) #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h, i)] #

(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h, Read i, Read j) => Read (a, b, c, d, e, f, g, h, i, j) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h, i, j) #

readList :: ReadS [(a, b, c, d, e, f, g, h, i, j)] #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h, i, j) #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h, i, j)] #

(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h, Read i, Read j, Read k) => Read (a, b, c, d, e, f, g, h, i, j, k) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h, i, j, k) #

readList :: ReadS [(a, b, c, d, e, f, g, h, i, j, k)] #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h, i, j, k) #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h, i, j, k)] #

(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h, Read i, Read j, Read k, Read l) => Read (a, b, c, d, e, f, g, h, i, j, k, l) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h, i, j, k, l) #

readList :: ReadS [(a, b, c, d, e, f, g, h, i, j, k, l)] #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h, i, j, k, l) #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h, i, j, k, l)] #

(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h, Read i, Read j, Read k, Read l, Read m) => Read (a, b, c, d, e, f, g, h, i, j, k, l, m) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h, i, j, k, l, m) #

readList :: ReadS [(a, b, c, d, e, f, g, h, i, j, k, l, m)] #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h, i, j, k, l, m) #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h, i, j, k, l, m)] #

(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h, Read i, Read j, Read k, Read l, Read m, Read n) => Read (a, b, c, d, e, f, g, h, i, j, k, l, m, n) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h, i, j, k, l, m, n) #

readList :: ReadS [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h, i, j, k, l, m, n) #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] #

(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h, Read i, Read j, Read k, Read l, Read m, Read n, Read o) => Read (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) # 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) #

readList :: ReadS [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] #

type ReadS a = String -> [(a, String)] #

type Prec = Int #

data ReadPrec a #

Instances

Instances details
Alternative ReadPrec # 
Instance details

Defined in GHC.Internal.Text.ParserCombinators.ReadPrec

Methods

empty :: ReadPrec a

(<|>) :: ReadPrec a -> ReadPrec a -> ReadPrec a

some :: ReadPrec a -> ReadPrec [a]

many :: ReadPrec a -> ReadPrec [a]

Applicative ReadPrec # 
Instance details

Defined in GHC.Internal.Text.ParserCombinators.ReadPrec

Methods

pure :: a -> ReadPrec a

(<*>) :: ReadPrec (a -> b) -> ReadPrec a -> ReadPrec b

liftA2 :: (a -> b -> c) -> ReadPrec a -> ReadPrec b -> ReadPrec c

(*>) :: ReadPrec a -> ReadPrec b -> ReadPrec b

(<*) :: ReadPrec a -> ReadPrec b -> ReadPrec a

Functor ReadPrec # 
Instance details

Defined in GHC.Internal.Text.ParserCombinators.ReadPrec

Methods

fmap :: (a -> b) -> ReadPrec a -> ReadPrec b #

(<$) :: a -> ReadPrec b -> ReadPrec a #

Monad ReadPrec # 
Instance details

Defined in GHC.Internal.Text.ParserCombinators.ReadPrec

Methods

(>>=) :: ReadPrec a -> (a -> ReadPrec b) -> ReadPrec b #

(>>) :: ReadPrec a -> ReadPrec b -> ReadPrec b #

return :: a -> ReadPrec a #

MonadPlus ReadPrec # 
Instance details

Defined in GHC.Internal.Text.ParserCombinators.ReadPrec

Methods

mzero :: ReadPrec a #

mplus :: ReadPrec a -> ReadPrec a -> ReadPrec a #

MonadFail ReadPrec # 
Instance details

Defined in GHC.Internal.Text.ParserCombinators.ReadPrec

Methods

fail :: String -> ReadPrec a #

data Lexeme #

Constructors

Char Char 
String String 
Punc String 
Ident String 
Symbol String 
Number Number 
EOF 

Instances

Instances details
Read Lexeme # 
Instance details

Defined in GHC.Internal.Read

Show Lexeme # 
Instance details

Defined in GHC.Internal.Text.Read.Lex

Methods

showsPrec :: Int -> Lexeme -> ShowS

show :: Lexeme -> String

showList :: [Lexeme] -> ShowS

Eq Lexeme # 
Instance details

Defined in GHC.Internal.Text.Read.Lex

Methods

(==) :: Lexeme -> Lexeme -> Bool

(/=) :: Lexeme -> Lexeme -> Bool