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
commitd7306dbac8ca9eecbba9d65379d225b5433b19fc (patch)
tree3942a2b3cfdab76d585ffaea82462831d241d351 /lib/ur
parentc11034fa6703761f48fdb79a92b82027eb5216e5 (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] =>