view tests/rewrite.ur @ 1289:3b22c3c67f35

Reduce: Inline let-bound variables whose types involve functions
author Adam Chlipala <adam@chlipala.net>
date Sun, 22 Aug 2010 13:43:46 -0400
parents 3b7e46790fa7
children
line wrap: on
line source
table t : { A : int }

fun other () = return <xml><body>
  Other
</body></xml>

fun main () = return <xml><body>
  <a link={other ()}>Hi!</a>
</body></xml>