@hackage HList0.5.1.0

Heterogeneous lists

(C) 2004--2010, Oleg Kiselyov, Ralf Laemmel, Keean Schupke

Contributors: Justin Bailey, Brian Bloniarz, Gwern Branwen, Einar Karttunen, and Adam Vogt

The HList library and samples


Getting the code

git clone https://bitbucket.org/HList/hlist HList


Pushing changes

You need an account at bitbucket.org

cd HList git clone git@bitbucket.org:HList/hlist.git git pull git commit --interactive git push


This distribution covers all essential issues discussed in the HList paper, though the implementation has been adapted to ghc features implemented after the paper's writing.

Additional examples and HList operations are provided. The code from the database section of the HList paper is not included since doing so would have implied inclusion of substantial packages, namely the underlying infrastructure for database access library.

You can get HList from Hackage or from bitbucket:

$ cabal update && cabal install HList

Or:

$ git clone https://bitbucket.org/HList/hlist HList $ cd HList; cabal install

The code was tested --- within the limits exercised in the source files --- with GHC:

  • 9.2.0.20210821
  • 9.0.1
  • 8.10.6
  • 8.8.4
  • 8.6.5
  • 8.4.4

and may still work with GHC-7.6, 7.8, 7.10, 8.2

Older compilers are not supported.

One may run "cabal test" to check the distribution.

See ChangeLog for updates.