Module

Text.Parsing.StringParser.Num

Package
purescript-audiograph
Repository
newlandsvalley/purescript-audiograph

#int Source

int :: Parser Int

Parse an integer.

#unsignedInt Source

unsignedInt :: Parser Int

Parse an unsigned integer.

#number Source

number :: Parser Number

Parse a number

#numberOrInt Source

numberOrInt :: Parser Number

Parse a number which may or may not have a decimal point we need to try number because both will consume any sign

#sign Source

sign :: Parser Int

Parse a numeric sign, returning 1 for positive numbers and -1