-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
33 lines (22 loc) · 970 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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