summaryrefslogtreecommitdiff
path: root/demo/more/dnat.urs
blob: 2dd7e93879f3faa425a9fc8bfcb53acbde5e01a9 (plain)
1
2
3
4
5
6
7
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 []