The ListLike package

[ Tags: bsd3, generics, library ] [ Propose Tags ]

Generic support for list-like structures in Haskell.

The ListLike module provides a common interface to the various Haskell types that are list-like. Predefined interfaces include standard Haskell lists, Arrays, ByteStrings, and lazy ByteStrings. Custom types can easily be made ListLike instances as well.

ListLike also provides for String-like types, such as String and ByteString, for types that support input and output, and for types that can handle infinite lists.

[Skip to Readme]


Versions 1.0.0, 1.0.1, 1.0.2, 1.1.0, 2.0.0, 2.0.1, 3.0.1, 3.1.0, 3.1.1, 3.1.2, 3.1.4, 3.1.5, 3.1.6, 3.1.7,, 4.0.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.2.0, 4.2.1, 4.4, 4.5, 4.5.1
Dependencies array (>=0.3 && <0.5), base (>1 && <1), bytestring (>=0.9.1 && <0.11), containers (>=0.3 && <0.6) [details]
License BSD3
Copyright Copyright (c) 2007-2008 John Goerzen
Author John Goerzen
Maintainer John Lato <>
Category Generics
Home page
Source repository head: git clone git://
Uploaded Tue Nov 13 00:57:29 UTC 2012 by JohnLato
Updated Wed Jan 14 11:35:25 UTC 2015 by HerbertValerioRiedel to revision 1   [What is this?]
Distributions Arch:4.5.1, Debian:4.2.1, LTSHaskell:4.5.1, NixOS:4.5.1, Stackage:4.5.1, Tumbleweed:4.5.1
Executables runtests
Downloads 23260 total (1624 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-11 [all 8 reports]
Hackage Matrix CI


  • Data
    • Data.ListLike
      • Data.ListLike.Base
      • Data.ListLike.CharString
      • Data.ListLike.FoldableLL
      • Data.ListLike.IO
      • Data.ListLike.Instances
      • Data.ListLike.String
      • Data.ListLike.Utils


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for ListLike-3.1.7

[back to package description]
The ListLike package provides typeclasses and instances to allow
polymorphism over many common datatypes.

The package can be built/installed with Cabal.  If you have cabal-install,
simply run "cabal install ListLike" to install the package.  Without
cabal-install, execute the following commands:

$ runghc Setup.hs configure
$ runghc Setup.hs build
$ runghc Setup.hs install