The HList package

[Tags:library, mit, test]

HList is a record system providing strongly typed heterogenous lists, records, type-indexed products (TIP) and co-products; licensed under the MIT X License.

User code should import Data.HList or Data.HList.CommonMain for a slightly more limited scope


[Skip to Readme]

Properties

Versions 0.1, 0.1.1, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.0.1, 0.3.1.0, 0.3.2.0, 0.3.4.0, 0.3.4.1, 0.4.0.0, 0.4.1.0, 0.4.2.0
Change log ChangeLog
Dependencies base (==4.6.*), ghc-prim, mtl, template-haskell [details]
License MIT
Author 2004 Oleg Kiselyov (FNMOC, Monterey), Ralf Laemmel (CWI/VU, Amsterdam), Keean Schupke (London)
Maintainer oleg@pobox.com
Stability Unknown
Category Data
Source repository head: darcs get http://code.haskell.org/HList
Uploaded Mon Nov 4 15:00:34 UTC 2013 by AdamVogt
Updated Sun Apr 26 16:11:41 UTC 2015 by AdamBergmark to revision 1
Distributions LTSHaskell:0.4.2.0, NixOS:0.4.2.0, Tumbleweed:0.4.2.0
Downloads 5851 total (36 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Successful builds reported [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for HList

Readme for HList-0.3.0

(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

> darcs get http://code.haskell.org/HList

----------------------------------------------------------------------

Pushing changes

You need an account at code.haskell.org

> cd HList
> darcs pull user@code.haskell.org:/srv/darcs/HList
> darcs record
> darcs 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 Darcs:

$ cabal update && cabal install HList

Or:

$ darcs get --partial http://code.haskell.org/HList/
$ cd HList; cabal install

The code works --- within the limits exercised in the source files ---
for GHC-7.6 and GHC-7.7. Older compilers are not supported.

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

See ChangeLog for updates.