summaryrefslogtreecommitdiff
path: root/demo/rec.ur
diff options
context:
space:
mode:
Diffstat (limited to 'demo/rec.ur')
-rw-r--r--demo/rec.ur7
1 files changed, 7 insertions, 0 deletions
diff --git a/demo/rec.ur b/demo/rec.ur
new file mode 100644
index 00000000..a8084462
--- /dev/null
+++ b/demo/rec.ur
@@ -0,0 +1,7 @@
+fun main () = return <xml><body>
+ <a link={other ()}>Go to the other one!</a>
+</body></xml>
+
+and other () = return <xml><body>
+ <a link={main ()}>Return to <tt>main</tt>!</a>
+</body></xml>