Mercurial > urweb
diff demo/more/dnat.urs @ 1015:e47303e5d73d
Factor Dnat into separate module
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 25 Oct 2009 11:03:42 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/demo/more/dnat.urs Sun Oct 25 11:03:42 2009 -0400 @@ -0,0 +1,8 @@ +type t + +val zero : transaction t +val inc : t -> transaction unit +val dec : t -> transaction unit + +val render : ctx ::: {Unit} -> inp ::: {Type} -> [[Body] ~ ctx] => + xml ([Body] ++ ctx) inp [] -> t -> xml ([Body] ++ ctx) inp []