view tests/tcrec.ur @ 2190:22117edf8fd3

After a tricky debugging session, limit visibility of type-class instances from anonymous modules
author Adam Chlipala <adam@chlipala.net>
date Sun, 01 Nov 2015 16:33:14 -0500
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 = _