The HList package

[Tags: library, mit]

HList provides many operations to create and manipulate heterogenous lists (HLists) whose length and element types are known at compile-time. HLists are used to implement

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


[Skip to ReadMe]

Properties

Versions0.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
Change logChangeLog
Dependenciesarray, base (>=4.6 && <4.9), ghc-prim, mtl, profunctors, tagged, template-haskell [details]
LicenseMIT
Author2004 Oleg Kiselyov (FNMOC, Monterey), Ralf Laemmel (CWI/VU, Amsterdam), Keean Schupke (London)
Maintaineroleg@pobox.com
CategoryData
Source repositoryhead: darcs get http://code.haskell.org/HList
UploadedMon Aug 3 13:18:20 UTC 2015 by AdamVogt
DistributionsLTSHaskell:0.4.1.0, Stackage:0.4.1.0
Downloads4737 total (350 in last 30 days)
Votes
0 []
StatusDocs available [build log]
Last success reported on 2015-08-03 [all 1 reports]

Modules

[Index]

Flags

NameDescriptionDefaultType
new_type_equse Data.Type.Equality.== to define the instance of HEq instead of overlapping instances (in Data.HList.TypeEqO) (needs ghc >= 7.8) This version does not allow `HEq x [x] f` to lead to f ~ False, unlike the version with overlapping instances. See <https://ghc.haskell.org/trac/ghc/ticket/9918>DisabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for HList-0.4.1.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.8 and GHC-7.10. Older compilers are not supported.

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

See ChangeLog for updates.