The thrist package

[Tags: bsd3, library]

Thrist is a list-like data structure (GADT) whose elements are values of a two-parameter datatype. The typing constraint ensures that the second type parameter of a former value unifies with the first type parameter of the latter.

This threading of types is the foundation for thrists' nice properties. E.g., paired with a suitable semantics, function composition (.) can be embedded.

Sub-modules demonstrate the power of the thrist idea by emulating some familiar data structures.

For further ideas, please consult the companion (draft) paper "Thrists: Dominoes of Data" at


Versions0.0, 0.1, 0.1.1, 0.1.2, 0.2, 0.2.1, 0.2.2, 0.3,,
Dependenciesbase (==4.*)
Copyright(c) 2008-2011 Gabor Greif and Brandon Simmons
AuthorGabor Greif, Brandon Simmons,
CategoryData Structures
Home page
Upload dateSun Nov 20 18:41:54 UTC 2011
Uploaded byGaborGreif
Downloads535 total (43 in last 30 days)




Maintainers' corner

For package maintainers and hackage trustees