view tests/rewrite.ur @ 1861:52043ad66ce7

Extend Especialize rule: find maximal argument prefixes that end in 1 or more arguments with functional types
author Adam Chlipala <adam@chlipala.net>
date Fri, 09 Aug 2013 16:04:16 -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>