natural

natural :: GenTokenParser s u m -> ParsecT s u m Integer
parsec Text.Parsec.Token, parsec Text.ParserCombinators.Parsec.Token
This lexeme parser parses a natural number (a positive whole number). Returns the value of the number. The number can be specified in decimal, hexadecimal or octal. The number is parsed according to the grammar rules in the Haskell report.
package natural-number
package
This package provides a simple data structure for repesenting natural numbers with a type that is tagged with the type-level natural number corresponding to the value of the natural number. Version 1.0
package natural-numbers
package
This package provides a type of all natural numbers, that is, non-negative integers. In contrast to the naturals package, it does not use an indeterminate value to represent underflows, but raises errors on underflows. We think this is more reasonable, as this indeterminate value is not really a natural. Version 0.1.2.0
package natural-sort
package
The built-in comparisons for textual data are based on Unicode ordinals. This does not match most every-day sorting algorithms. For example, "z10.txt" is sorted after "z2.txt" by users, but before it by naïve algorithms. This package provides an implementation of "natural sort", which more closely matches user expectations. See also: http://www.davekoelle.com/alphanum.html Version 0.1.2
package naturalcomp
package
Natural order string comparison is needed when e.g. one wants to compare file names or strings of software version.  It's aimed to be compatible to glibc's strverscmp() function. Version 0.0.2
naturalOrFloat :: GenTokenParser s u m -> ParsecT s u m (Either Integer Double)
parsec Text.Parsec.Token, parsec Text.ParserCombinators.Parsec.Token
This lexeme parser parses either natural or a float. Returns the value of the number. This parsers deals with any overlap in the grammar rules for naturals and floats. The number is parsed according to the grammar rules defined in the Haskell report.
package naturals
package
Provides a natural number type with a safe constructor and related operations Version 0.2.0.2
package NaturalSort
package
A library for sorting strings &quot;naturally&quot;, i.e. taking numerical values into account when comparing textual inputs. E.g., &quot;1&quot; < &quot;10&quot;, and &quot;10 bottles of beer&quot; < &quot;100 bottles of beer&quot;. Version 0.2.1
package type-level-natural-number
package
This is a simple, Haskell 2010 compatible implementation of type-level natural numbers.  Operations requiring non-Haskell 2010 language extensions have been split into a separate package. The difference between this package and the many others on Hackage implementing type-level naturals is its emphasis on simplicity. It only supports non-negative natural numbers, and only the successor and predicessor operations.  It represents natural numbers using a type-level linked list, so it is not intended to be used for representing large numbers.  Pre-defined aliases for natural numbers up to 15 are provided. The code for this package was largely taken from the excellent Vec package; I created this package with the intent of making this functionality more widely available. Difference from 1.0:  Added instances for Typeable, and word synonyms for N0...N15. Difference from 1.1:  Performance enhancements for naturalNumberAsInt. Simplified Show implementation. Version 1.1.1
package type-level-natural-number-induction
package
This package provides high-level combinators for working with inductive structures --- that is, structures tagged with a phantom type-level natural number.  Combinators are provided for building up a structure from seed data using induction, tearing down a structure to obtain a result, and inductively transforming one structure into another with the same size. This package uses the type-level-natural-number package for its type-level representations of the natural numbers.  The only non-Haskell 2010 extension it needs is Rank2Types. Version 1.0.0.1
package type-level-natural-number-operations
package
This package provides some basic operations that do not require the UndecideableInstances extension on type-level natural numbers. Specifically, this package provides the Plus and Minus type functions. Version 1.0
package type-natural
package
Type-level natural numbers and proofs of their properties. Version 0.0.4.0