parameterized-data: Parameterized data library implementing lightweight dependent types

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

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 https://forsyde.ict.kth.se/trac/wiki/ForSyDe/Haskell/ForSyDeTutorial#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 (>=0.3.0) [details]
Tested with ghc ==7.10.3, ghc ==8.0.1
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
Source repo head: git clone git://github.com/forsyde/parameterized-data.git
Uploaded by ugeorge at 2016-07-08T19:55:39Z
Distributions
Reverse Dependencies 3 direct, 0 indirect [details]
Downloads 4746 total (16 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-07-08 [all 1 reports]

Readme for parameterized-data-0.1.6

[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 https://forsyde.ict.kth.se/trac/wiki/ForSyDe/Haskell/ForSyDeTutorial#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