parameterized-data: Parameterized data library implementing lightweight dependent types

[ bsd3, data, library ] [ Propose Tags ]

This library provides an implementation of parameterized types using type-level computations to implement the type parameters and emulate dependent types. Right now only fixed-sized vectors are provided. A tutorial on how to use them can be found at http://www.ict.kth.se/forsyde/files/tutorial/tutorial.html#FSVec


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6
Dependencies base (>=4 && <6), template-haskell (>2.0), type-level [details]
License BSD-3-Clause
Copyright Copyright (c) 2008-2010 Alfonso Acosta, Oleg Kiselyov, Wolfgang Jeltsch and KTH's SAM group
Author Alfonso Acosta (alfonso.acosta@gmail.com)
Maintainer Hosein Attarzadeh (shan2@kth.se)
Category Data
Home page http://code.haskell.org/parameterized-data
Uploaded by HoseinAttarzadeh at 2010-06-25T16:43:47Z
Distributions
Reverse Dependencies 3 direct, 0 indirect [details]
Downloads 4589 total (20 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for parameterized-data-0.1.5

[back to package description]
parameterized-data : Parameterized data library implementing lightweight 
dependent types

DESCRIPTION

 This library provides an implementation of parameterized types using
 type-level computations to implement the type parameters and emulate
 dependent types.

 Right now only fixed-sized vectors are provided. A tutorial on how to
 use them can be found at http://www.ict.kth.se/org/ict/ecs/sam/projects/forsyde/www/files/tutorial/tutorial.html#FSVec


DEPENDENCIES
 
 parameterized-data depends on GHC (due to the use of Template Haskell)
 and the type-level library

INSTALLATION

to install globally, for the whole system (requires admin permissions)

$ ./Setup.hs configure
$ ./Setup.hs build
$ ./Setup.hs haddock # generate documentation, optional
$ ./Setup.hs install

to install locally and just for your own user

$ ./Setup.hs configure --prefix=The/selected/local/directory
$ ./Setup.hs build
$ ./Setup.hs haddock # generate documentation, optional
$ ./Setup.hs install --user