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]
Versions 0.0, 0.1
Dependencies base (<5), template-haskell (==2.*) [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 Fri Mar 9 04:00:35 UTC 2012
Distributions NixOS:0.1
Downloads 847 total (17 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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.