diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-04-09 16:36:50 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-04-09 16:36:50 -0400 |
commit | d7306dbac8ca9eecbba9d65379d225b5433b19fc (patch) | |
tree | 3942a2b3cfdab76d585ffaea82462831d241d351 /lib/ur | |
parent | c11034fa6703761f48fdb79a92b82027eb5216e5 (diff) |
URLs
Diffstat (limited to 'lib/ur')
-rw-r--r-- | lib/ur/basis.urs | 6 |
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] => |