Mercurial > urweb
view demo/more/checkGroup.urs @ 1348:8a169fc0838b
Change tasks to support parametric code; add clientLeaves
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 18 Dec 2010 14:17:45 -0500 |
parents | 7facf72aaf0a |
children |
line wrap: on
line source
con t :: {Unit} -> Type -> Type val create : ctx ::: {Unit} -> data ::: Type -> list (data * xml ctx [] [] * bool) -> transaction (t ctx data) val render : ctx ::: {Unit} -> data ::: Type -> [[Body] ~ ctx] => t ([Body] ++ ctx) data -> xml ([Body] ++ ctx) [] [] val selected : ctx ::: {Unit} -> data ::: Type -> t ctx data -> signal (list data)