summaryrefslogtreecommitdiff
path: root/lib/ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-04-09 16:36:50 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-04-09 16:36:50 -0400
commit17cb59d373d1a94731d3730b938776b524d9f81c (patch)
tree3942a2b3cfdab76d585ffaea82462831d241d351 /lib/ur
parentf48c39b31e2d82b1ef7da1aae7d0c555d26d3101 (diff)
URLs
Diffstat (limited to 'lib/ur')
-rw-r--r--lib/ur/basis.urs6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs
index f652165d..f2f378ee 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -486,7 +486,11 @@ val ul : bodyTag []
val hr : bodyTag []
-val a : bodyTag [Link = transaction page, Onclick = transaction unit]
+type url
+val bless : string -> url
+val a : bodyTag [Link = transaction page, Href = url, Onclick = transaction unit]
+
+val img : bodyTag [Src = url]
val form : ctx ::: {Unit} -> bind ::: {Type}
-> [[Body] ~ ctx] =>