diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/tcrec.ur	Sat Oct 15 10:19:50 2011 -0400
@@ -0,0 +1,5 @@
+type r1 = {A : string, B : string}
+type r2 = {B : string, A : string}
+
+val show_r1 : show r1 = mkShow (fn r => r.A ^ "+" ^ r.B)
+val show_r2 : show r2 = _