shapely-data: Template haskell conversion of types to a "structural form" built from primitive sum, product, and unit types.

[ bsd3, data, generics, library ] [ Propose Tags ]

This is an experimental package providing template haskell code to convert to and from normal algebraic data types and a representation using only haskell's primitive product, sum and unit types: (,), Either, and ().

This is something like light-weight Structural Typing.

Please send any comments along.


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0, 0.1
Dependencies base (<5), template-haskell (>=2 && <3) [details]
License BSD-3-Clause
Author Brandon Simmons
Maintainer brandon.m.simmons@gmail.com
Category Data
Home page http://brandon.si/code/shapely-data/
Source repo head: git clone https://github.com/jberryman/shapely-data.git -b master
Uploaded by BrandonSimmons at 2012-03-09T04:00:35Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1773 total (7 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 shapely-data-0.0

[back to package description]

shapely-data is a haskell library up here on hackage that uses template haskell to convert to and from normal algebraic data types and a representation using only haskell's primitive product, sum and unit types: (,), Either, and ().

See library docs for usage. Install it with a

cabal install shapely-data

This is very much a messy proof-of-concept library at the moment. Let me know id you find it useful or have an idea for additional functionality/directions.