eholk / harlan

A language for GPU computing.
Other
1.19k stars 82 forks source link

Generate equality tests for ADTs #112

Open eholk opened 10 years ago

eholk commented 10 years ago

Right now you can't just use == on an ADT. You can get around this by writing your own equality predicate, but this is some of the most tedious code you will ever write. We should automatically generate these predicates like we generate some ADT print functions.