Build Status Hackage Stackage Nightly Stackage LTS

ListLike

The ListLike package provides typeclasses and instances that polymorphically generalize list operations to many list-like types such as vectors, text, bytestrings, or difference lists.

Read the introduction.

Changes

CHANGES

4.7.8.2 (2023-10-10)

  • pacify GHC 9.8’s new x-partial warning
  • tested with GHC 7.10 - 9.8

4.7.8.1 (2023-07-12)

  • allow bytestring-0.12 and fix its deprecation warnings
  • tested with GHC 7.10 - 9.6

4.7.8 (2022-11-15)

  • change default insertBy implementation to work better with dlists (#18)
  • allow vector-0.13
  • tested with GHC 7.10 - 9.4

4.7.7 (2022-05-26)

  • methods sequence and mapM: relax Monad constraint to Applicative
  • LANGUAGE TypeOperators to fix GHC 9.4 warning
  • allow text-2.0
  • tested with GHC 7.10 - 9.4

4.7.6 (2021-09-01)

  • new implementation of tail in DList instance
  • warning-free for -Wall and -Wcompat

4.7.4 (2021-01-07)

  • support utf8-string-1.0.2 (#10)

4.7.3 (2020-12-31)

  • support bytestring-0.10.12 (#7) for ghc 8.10.3
  • removed support for ghc 7.6 and 7.8 (#6)

4.7.2 (2020-08-21)

  • support dlist-1.0 (#4)

4.7.1 (2020-07-03)

  • support QuickCheck-2.14

4.7

  • make GHC.Exts.IsList a superclass of ListLike and use its fromList and toList methods
  • make Data.String.IsString a superclass of Stringlike and use its fromString method
  • add methods to StringLike: show, fromText, fromLazyText
  • add a class ListOps, alternative to ListLike, that uses the GHC.Exts.Item instead of the item type parameter
  • supply instance IsString Seq for old versions of container