Mercurial > urweb
annotate demo/more/checkGroup.urs @ 1279:4c367c8f5b2d
List.mapi
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 13 Jun 2010 14:13:47 -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) |