Package Info

ghc-sorted-list


Type-enforced sorted lists and related functions


Development/Libraries/Haskell

Type-enforced sorted lists and related functions.

These are useful for:

  • Constraining the argument of a function to be a sorted list by stating in

your type that the input list is a sorted list.

  • Avoiding sorting a list twice.

  • Creating a list that is sorted from the moment of its construction, so it

doesn't have to be sorted later.

  • Performing list operations keeping the input list sorted.

  • Improving those list operations that can be benefited from the ordering of

its elements.

  • Creating infinite lists that are sorted!

  • And more!

If you are missing a feature, do not hesitate to ask by opening an issue at the bug-tracker.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/sorted-list

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.2.0.0-bp150.2.4 info GA Release 2018-08-01 15
  • AArch64
  • ghc-sorted-list
  • ghc-sorted-list-devel
0.2.0.0-bp150.2.6 info GA Release 2018-07-30 15
  • ppc64le
  • x86-64
  • ghc-sorted-list
  • ghc-sorted-list-devel