view demo/more/dnat.urs @ 1027:be1aec7333a5

Saving paper assignments
author Adam Chlipala <adamc@hcoop.net>
date Mon, 02 Nov 2009 14:11:08 -0500
parents e47303e5d73d
children
line wrap: on
line source
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 []