comparison 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
comparison
equal deleted inserted replaced
397:4d519baf357c 398:ab3177746c78
1 datatype list t = Nil | Cons of t * list t
2
3 fun handler (ls : list bool) = return <xml/>
4
5 fun main () : transaction page = return <xml><body>
6 <a link={handler Nil}>!</a>
7 </body></xml>