log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
urweb
annotate tests/tcrec.ur @ 1575:287604b4a08d
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
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
rev
line source
adam@1575
1
type r1 = {A : string, B : string}
adam@1575
2
type r2 = {B : string, A : string}
adam@1575
3
adam@1575
4
val show_r1 : show r1 = mkShow (fn r => r.A ^ "+" ^ r.B)
adam@1575
5
val show_r2 : show r2 = _