Mercurial > urweb
view demo/more/checkGroup.urs @ 1212:fc33072c4d33
Replaced Select predicate with special-case handling for one-or-no-rows queries
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 06 Apr 2010 15:17:28 -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)