Mercurial > urweb
annotate demo/more/checkGroup.urs @ 1175:79f487f51d9f
Monad.foldMapR
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 02 Mar 2010 10:33:49 -0500 |
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) |