The Annotations package
Annotations provides utility functions to make working with annotated trees easier. There are two implementations: one for working with open datatypes that explicitly make their child positions accessible through a type argument, and one for working with MultiRec datatypes.
Parser combinators make it easy to construct trees annotated with position information. For the MultiRec implementation, there is the Yield monad that allows construction of trees in postorder.
Error algebras allow destruction of trees using catamorphisms. The algebra is allowed to indicate failure in which case the error is automatically coupled with the annotation at the position at which the error occurred.
|Versions||0.1, 0.1.1, 0.1.2, 0.1.3, 0.2|
|Change log||None available|
|Dependencies||base (>=4.1 && <4.4), mtl (>=1.1 && <2.1), multirec (>=0.4 && <0.6), parsec (>=3.0 && <3.2)|
|Copyright||Copyright (c) 2008-2009 Martijn van Steenbergen|
|Author||Martijn van Steenbergen|
|Uploaded||Sun Feb 27 12:10:20 UTC 2011 by MartijnVanSteenbergen|
|Downloads||1062 total (44 in last 30 days)|
|Status||Docs uploaded by user|
Build status unknown [no reports yet]
- Annotations-0.1.3.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
For package maintainers and hackage trustees