Package Info

ghc-grouped-list


Grouped lists. Equal consecutive elements are grouped


System/Libraries

Grouped lists work like regular lists, except for two conditions:

  • Grouped lists are always finite. Attempting to construct an infinite grouped

list will result in an infinite loop.

  • Grouped lists internally represent consecutive equal elements as only one,

hence the name of /grouped lists/.

This mean that grouped lists are ideal for cases where the list has many repetitions (like '[1,1,1,1,7,7,7,7,7,7,7,7,2,2,2,2,2]', although they might present some deficiencies in the absent of repetitions.


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

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.2.1.2-bp150.1.3 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • x86-64
  • ghc-grouped-list
  • ghc-grouped-list-devel