view tests/unurlify.ur @ 398:ab3177746c78

Simple listShop working
author Adam Chlipala <adamc@hcoop.net>
date Tue, 21 Oct 2008 13:24:54 -0400
parents
children ebf27030ae3b
line wrap: on
line source
datatype list t = Nil | Cons of t * list t

fun handler (ls : list bool) = return <xml/>

fun main () : transaction page = return <xml><body>
  <a link={handler Nil}>!</a>
</body></xml>