comptrans 0.1.0.1 → 0.1.0.2
raw patch · 1 files changed
+6/−5 lines, 1 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- comptrans.cabal +6/−5
comptrans.cabal view
@@ -1,5 +1,5 @@ Name: comptrans-Version: 0.1.0.1+Version: 0.1.0.2 Synopsis: Description: License: BSD3@@ -10,10 +10,11 @@ Description: Template Haskell for converting an AST for a language written using normal algebraic data types into ones written using multi-sorted compositional data types- (Data.Comp.Multi from the compdata library) so that you can use generic and modular operators- on it. You might need to add additional constructors that can e.g.: convert a (Term e Foo) into a- (Term e [Foo]).- The source files have comments showing example output for a simple language. See the examples directory+ (`Data.Comp.Multi` from the `compdata` library) so that you can use generic and modular operators+ on it. You might need to add additional constructors that can e.g.: convert a `(Term e Foo)` into a+ `(Term e [Foo])`.+ .+ The sCource files have comments showing example output for a simple language. See the examples directory for an extended example of generating a compositional data type for the entire Java language, with labelled variants as well as variants where an entire project of source files can be treated as a single AST -- and you can use the same operations on all of them!