The NaturalSort package

[Tags: bsd3, deprecated]

Deprecated

A library for sorting strings naturally, i.e. taking numerical values into account when comparing textual inputs.

E.g., 1 < 10, and 10 bottles of beer < 100 bottles of beer.


[Skip to ReadMe]

Properties

Version0.2.1
Change logNone available
Dependenciesbase (>=3 && <5), bytestring (>=0.9 && <1), QuickCheck (>=2.1 && <3), strict (==0.3.*) [details]
LicenseBSD3
Copyright(c) Joachim Fasting 2008-2010
MaintainerJoachim Fasting <joachim.fasting@gmail.com>
CategoryText
Home pagehttp://github.com/joachifm/natsort
Source repositoryhead: git clone git://github.com/joachifm/natsort.git
Executablestest, nsort
UploadedMon Apr 5 01:35:36 UTC 2010 by JoachimFasting
DistributionsNixOS:0.2.1
Downloads288 total (9 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefault
base3Use base version 3Disabled
driverBuild driver programDisabled
no-libDo not build the library (just the driver)Disabled
testBuild test driverDisabled
coverageBuild with code coverageDisabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for NaturalSort-0.2.1

NaturalSort - natural sorting for strings

NaturalSort is a library for sorting strings "naturally", i.e. taking numerical values into account when comparing textual inputs.

For example, "1" < 10, and "10 bottles of beer" < "100 bottles of beer".

Getting

Building

The preferred method of building is using cabal-install:

cd natsort
cabal install

A driver program is also available:

cabal install -f driver

To run the test suite, do:

cabal configure -f test
./dist/build/test/test

Development

To contribute to the project, please create a fork of the repository.

Licence

NaturalSort is distributed under the terms of the BSD3 license (see COPYING)

Author(s)

Joachim Fasting <joachim.fasting@gmail.com>