annotate demo/more/checkGroup.urs @ 1298:e665527fce1c

Support empty datatypes, which can now be generated via 'variant []'
author Adam Chlipala <adam@chlipala.net>
date Thu, 09 Sep 2010 12:42:25 -0400
parents 7facf72aaf0a
children
rev   line source
adamc@1025 1 con t :: {Unit} -> Type -> Type
adamc@1025 2
adamc@1025 3 val create : ctx ::: {Unit} -> data ::: Type -> list (data * xml ctx [] [] * bool) -> transaction (t ctx data)
adamc@1025 4 val render : ctx ::: {Unit} -> data ::: Type -> [[Body] ~ ctx] => t ([Body] ++ ctx) data -> xml ([Body] ++ ctx) [] []
adamc@1025 5 val selected : ctx ::: {Unit} -> data ::: Type -> t ctx data -> signal (list data)