diff tests/rewrite.ur @ 768:3b7e46790fa7

Path rewriting
author Adam Chlipala <adamc@hcoop.net>
date Sat, 02 May 2009 13:23:07 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/rewrite.ur	Sat May 02 13:23:07 2009 -0400
@@ -0,0 +1,9 @@
+table t : { A : int }
+
+fun other () = return <xml><body>
+  Other
+</body></xml>
+
+fun main () = return <xml><body>
+  <a link={other ()}>Hi!</a>
+</body></xml>