Name: Annotations Version: 0.2 Synopsis: Constructing, analyzing and destructing annotated trees Description: @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. Author: Martijn van Steenbergen Maintainer: martijn@van.steenbergen.nl Copyright: Copyright (c) 2008-2009 Martijn van Steenbergen Cabal-Version: >= 1.2 License: BSD3 License-file: LICENSE Category: Generics Build-type: Simple Library Build-Depends: base >= 4.1 && < 4.6, mtl >= 1.1 && < 2.1, parsec >= 3.0 && < 3.2, multirec >= 0.4 && < 0.8 Exposed-Modules: Annotations.Bounds, Annotations.BoundsParser, Annotations.Except, Annotations.ExploreHints, Annotations.F.Fixpoints, Annotations.F.Annotated, Annotations.F.Zipper, Annotations.F.Positional, Annotations.F.ParserCombinators, Annotations.MultiRec.Annotated, Annotations.MultiRec.Any, Annotations.MultiRec.ErrorAlg, Annotations.MultiRec.ParserCombinators, Annotations.MultiRec.ShowFam, Annotations.MultiRec.Yield, Annotations.MultiRec.Zipper, Annotations.MultiRec.ZipperFix, Annotations.MultiRec.Positional