BSD-3-Clause licensed by Daniel Díaz
Maintained by [email protected]
This version can be pinned in stack with:sorted-list-0.2.1.0@sha256:a1b67c647ec22b81fff5e3a5c43c397cd4011d6d0c13562855d17c13c5962d62,2070

Module documentation for 0.2.1.0

Depends on 2 packages(full list with versions):
Used by 2 packages in lts-20.24(full list with versions):

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.