andre-dietrich/parser-combinators/2.0.0

NOTE: the latest version is 7.1.1

Combine.Num

This module contains Parsers specific to parsing numbers.

Parsers

sign : Parser s Int

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

digit : Parser s Int

Parse a digit.

int : Parser s (Maybe Int)

Parse an integer.

float : Parser s (Maybe Float)

Parse a float.