BSD-3-Clause licensed by John Goerzen
Maintained by David Fox, Andreas Abel
This version can be pinned in stack with:ListLike-4.7.8.3@sha256:7d5529eb21c7e53185fef344e5a8f21f866a51ec1ed78bcdc89767f64cac257c,3717

Module documentation for 4.7.8.3

  • Data
    • Data.ListLike
      • Data.ListLike.Base
      • Data.ListLike.CharString
      • Data.ListLike.Chars
      • Data.ListLike.DList
      • Data.ListLike.FMList
      • Data.ListLike.FoldableLL
      • Data.ListLike.IO
      • Data.ListLike.Instances
      • Data.ListLike.String
      • Data.ListLike.Text
        • Data.ListLike.Text.Builder
        • Data.ListLike.Text.Text
        • Data.ListLike.Text.TextLazy
      • Data.ListLike.UTF8
      • Data.ListLike.Utils
      • Data.ListLike.Vector
        • Data.ListLike.Vector.Generic
        • Data.ListLike.Vector.Storable
        • Data.ListLike.Vector.Unboxed
        • Data.ListLike.Vector.Vector

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.3 (2025-03-13)

  • drop support for GHC 7
  • allow containers-0.8 and up
  • tested with GHC 8.0 - 9.12.1

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