diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-04-04 11:46:24 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-04-04 11:46:24 -0400 |
commit | e74f91d28381be3758a53da75985afa05a06680d (patch) | |
tree | 3979ccacac613495cad0e9aa5a76e8d8fba76b7b /lib | |
parent | 15c42e18c0a495205e6fe1dba35334b9b2914b71 (diff) |
Checking spans in dyns
Diffstat (limited to 'lib')
-rw-r--r-- | lib/js/urweb.js | 4 | ||||
-rw-r--r-- | lib/ur/basis.urs | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js index d3c144b9..4a447a5b 100644 --- a/lib/js/urweb.js +++ b/lib/js/urweb.js @@ -154,6 +154,10 @@ function pfl(s) { throw "Can't parse float: " + s; } +function cat(s1, s2) { + return s1 + s2; +} + function whine(msg) { alert(msg); throw msg; diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs index 586c5ef9..f95e8eba 100644 --- a/lib/ur/basis.urs +++ b/lib/ur/basis.urs @@ -375,8 +375,8 @@ con form = [Body, Form] con tabl = [Body, Table] con tr = [Body, Tr] -val dyn : ctx ::: {Unit} -> use ::: {Type} -> bind ::: {Type} -> unit - -> tag [Signal = signal (xml ctx use bind)] ctx [] use bind +val dyn : use ::: {Type} -> bind ::: {Type} -> unit + -> tag [Signal = signal (xml body use bind)] body [] use bind val head : unit -> tag [] html head [] [] val title : unit -> tag [] head [] [] [] @@ -393,6 +393,8 @@ con bodyTagStandalone = fn (attrs :: {Type}) => val br : bodyTagStandalone [] +val span : bodyTag [] + val p : bodyTag [] val b : bodyTag [] val i : bodyTag [] |