summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-10-19 12:50:49 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-10-19 12:50:49 -0400
commite685fdbd6f025e911fcf9e5e97882f497e221050 (patch)
tree5457ec86bd71e33ca8e8155590d7493186d55a9a /demo
parent54d7cbad02005212c4171b7d652416c75a93aa37 (diff)
Link demo
Diffstat (limited to 'demo')
-rw-r--r--demo/link.ur7
-rw-r--r--demo/link.urp2
-rw-r--r--demo/link.urs1
3 files changed, 10 insertions, 0 deletions
diff --git a/demo/link.ur b/demo/link.ur
new file mode 100644
index 00000000..f9e33968
--- /dev/null
+++ b/demo/link.ur
@@ -0,0 +1,7 @@
+fun target () = return <xml><body>
+ Welcome!
+</body></xml>
+
+fun main () = return <xml><body>
+ <a link={target ()}>Go there</a>
+</body></xml>
diff --git a/demo/link.urp b/demo/link.urp
new file mode 100644
index 00000000..01d60187
--- /dev/null
+++ b/demo/link.urp
@@ -0,0 +1,2 @@
+
+link
diff --git a/demo/link.urs b/demo/link.urs
new file mode 100644
index 00000000..6ac44e0b
--- /dev/null
+++ b/demo/link.urs
@@ -0,0 +1 @@
+val main : unit -> transaction page