JamesIry / jADT

A spoonful of ADT in your Java.
http://jamesiry.github.com/jADT/index.html
Apache License 2.0
49 stars 4 forks source link

Use <> syntax on parameterized ADTs #13

Closed JamesIry closed 12 years ago

JamesIry commented 12 years ago

The syntax for parameterized ADTs is DataType A B = Whatever | Blah, but when you use it you have to use e.g. DataType<Integer, String>. Also DataType A B just isn't familiar at all to Java devs. So I need to change it to be DataType<A,B> = Whatever | Blah.

JamesIry commented 12 years ago

Fixed in https://github.com/JamesIry/JADT/commit/0d538ae5960a232f578d6fa2cc9b5eacfe9ca8ba