view demo/rec.ur @ 1588:65d6488c82d5

Fix confusing error message when record unification fails because enclosed types are incompatible
author Adam Chlipala <adam@chlipala.net>
date Sat, 05 Nov 2011 09:56:52 -0400
parents 345fcf91c806
children
line wrap: on
line source
fun main () = return <xml><body>
  <a link={other ()}>Go to the other one!</a>
</body></xml>

and other () = return <xml><body>
  <a link={main ()}>Return to <tt>main</tt>!</a>
</body></xml>