summaryrefslogtreecommitdiff
path: root/demo/more/checkGroup.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2010-12-20 19:28:41 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2010-12-20 19:28:41 -0500
commit0ecaa53f8c3951d695a4379dd1b353863749963a (patch)
treeebf76ca34c81803bf8385e4fae1e61bc5bf300d2 /demo/more/checkGroup.ur
parent75557c308d78c533a5576f5223e7a67952761fb1 (diff)
Fix manual mistake about '@' notations; remove obsolete demos
Diffstat (limited to 'demo/more/checkGroup.ur')
-rw-r--r--demo/more/checkGroup.ur15
1 files changed, 0 insertions, 15 deletions
diff --git a/demo/more/checkGroup.ur b/demo/more/checkGroup.ur
deleted file mode 100644
index ab1cc781..00000000
--- a/demo/more/checkGroup.ur
+++ /dev/null
@@ -1,15 +0,0 @@
-con t ctx data = list (data * xml ctx [] [] * source bool)
-
-fun create [ctx] [data] (items : list (data * xml ctx [] [] * bool)) =
- List.mapM (fn (d, x, b) => s <- source b; return (d, x, s)) items
-
-fun render [ctx] [data] [[Body] ~ ctx] (t : t ([Body] ++ ctx) data) =
- List.mapX (fn (_, x, s) => <xml><ccheckbox source={s}/> {x}<br/></xml>) t
-
-fun selected [ctx] [data] (t : t ctx data) =
- List.foldlM (fn (d, _, s) ls =>
- s <- signal s;
- return (if s then
- d :: ls
- else
- ls)) [] t