comparison tests/tcrec.ur @ 1575:287604b4a08d

Improved unification of record literals in type class resolution
author Adam Chlipala <adam@chlipala.net>
date Sat, 15 Oct 2011 10:19:50 -0400
parents
children
comparison
equal deleted inserted replaced
1574:644558d9c756 1575:287604b4a08d
1 type r1 = {A : string, B : string}
2 type r2 = {B : string, A : string}
3
4 val show_r1 : show r1 = mkShow (fn r => r.A ^ "+" ^ r.B)
5 val show_r2 : show r2 = _