packages feed

natural-sort-0.1: natural-sort.cabal

name: natural-sort
version: 0.1
synopsis: User-friendly text collation
description:
  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>

license: BSD3
license-File: license.txt
author: John Millikin <jmillikin@gmail.com>
maintainer: John Millikin <jmillikin@gmail.com>
copyright: 2010 John Millikin <jmillikin@gmail.com>
build-type: Simple
cabal-version: >=1.2
category: Algorithms

library
  build-depends:
      base >= 2 && < 5
    , parsec >= 3
    , text
    , bytestring

  exposed-modules:
    Algorithms.NaturalSort

  ghc-options: -Wall