Module

Data.Parse

Package
purescript-read-generic
Repository
Swordlash/purescript-read-generic

#Read Source

class Read a  where

Members

Instances

#readMaybe Source

readMaybe :: forall a. Read a => String -> Maybe a

#read Source

read :: forall a. Read a => Partial => String -> a

#primaryParser Source

primaryParser :: { angles :: forall (a :: Type). ParserT String Identity a -> ParserT String Identity a, braces :: forall (a :: Type). ParserT String Identity a -> ParserT String Identity a, brackets :: forall (a :: Type). ParserT String Identity a -> ParserT String Identity a, charLiteral :: ParserT String Identity Char, colon :: ParserT String Identity String, comma :: ParserT String Identity String, commaSep :: forall (a :: Type). ParserT String Identity a -> ParserT String Identity (List a), commaSep1 :: forall (a :: Type). ParserT String Identity a -> ParserT String Identity (NonEmptyList a), decimal :: ParserT String Identity Int, dot :: ParserT String Identity String, float :: ParserT String Identity Number, hexadecimal :: ParserT String Identity Int, identifier :: ParserT String Identity String, integer :: ParserT String Identity Int, lexeme :: forall (a :: Type). ParserT String Identity a -> ParserT String Identity a, natural :: ParserT String Identity Int, naturalOrFloat :: ParserT String Identity (Either Int Number), octal :: ParserT String Identity Int, operator :: ParserT String Identity String, parens :: forall (a :: Type). ParserT String Identity a -> ParserT String Identity a, reserved :: String -> ParserT String Identity Unit, reservedOp :: String -> ParserT String Identity Unit, semi :: ParserT String Identity String, semiSep :: forall (a :: Type). ParserT String Identity a -> ParserT String Identity (List a), semiSep1 :: forall (a :: Type). ParserT String Identity a -> ParserT String Identity (NonEmptyList a), stringLiteral :: ParserT String Identity String, symbol :: String -> ParserT String Identity String, whiteSpace :: ParserT String Identity Unit }