The extensible-data package
Extensible lists: Add to a list at compile-time in many modules, which do not necessarily know each other, and then collect it into a single list in a module depending on all of them (possibly indirectly).
Extensible products: It is a record in which new fields can be added anywhere including in different modules; dependent defaults are supported, so it is still possible to make a value of such a type.
Extensible sums: Type with choices; new choices can be added anywhere including in other modules (which do not need to know each other). The operations on them are also freely extensible in the similar way.
Extensible trees: You can make a tree out of types, and have a value at each node. New nodes can be added anywhere if you have access to the node which will become the new node's parent.
|Versions||0.1, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4|
|Change log||None available|
|Dependencies||base (>=4.3 && <5.0), data-lens (>=2.0.1 && <2.2), hashable (>=220.127.116.11 && <1.2), template-haskell (>=18.104.22.168 && <2.7), unordered-containers (>=0.1.4.6 && <0.2) [details]|
|Uploaded||Tue Feb 14 03:05:25 UTC 2012 by AaronBlack|
|Downloads||767 total (33 in last 30 days)|
|Status||Docs not available [build log]|
All reported builds failed as of 2015-05-27 [all 1 reports]
- extensible-data-0.1.0.3.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
For package maintainers and hackage trustees