Mercurial > urweb
view demo/more/checkGroup.urs @ 1248:cf9a636f9b15
Avoid state space explosion with ECase that just writes a constant in each case
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 18 Apr 2010 20:06:15 -0400 |
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)