view tests/invurl.ur @ 2165:7dfce558aca2

Change 'make test' to work before 'make install'
author Adam Chlipala <adam@chlipala.net>
date Thu, 06 Aug 2015 09:57:47 -0400
parents 3621f486ce72
children
line wrap: on
line source
val r = { F = fn () => return <xml/> }

fun main () : transaction page = return <xml><body>
  <a link={r.F ()}>Go</a>
</body></xml>

fun main' (r' : {F : unit -> transaction page}) : transaction page = return <xml><body>
  <a link={r'.F ()}>Go</a>
</body></xml>