view tests/tcrec.ur @ 1742:fca4a6d05ac1

More diagnostic information about some type class resolution failures
author Adam Chlipala <adam@chlipala.net>
date Fri, 04 May 2012 10:33:04 -0400
parents 287604b4a08d
children
line wrap: on
line source
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 = _