summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-09-08 11:02:53 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-09-08 11:02:53 -0400
commit50bbd6df3de3f637fe8bb680ad707a133e976c6e (patch)
tree942f83c942b7d41f09fd7b7056f662036975cd75 /demo
parent33dbb6c0000a5d82267f984191e7390be86b7dfd (diff)
Use cdata for shorter Monad map
Diffstat (limited to 'demo')
-rw-r--r--demo/more/dragList.ur2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/more/dragList.ur b/demo/more/dragList.ur
index efdafc8a..c4e9b69a 100644
--- a/demo/more/dragList.ur
+++ b/demo/more/dragList.ur
@@ -15,7 +15,7 @@ fun draggableList title items =
set di movedOver;
set itemSource original;
set draggingItem (Some itemSource)}>
- <dyn signal={Monad.mp (fn s => <xml>{[s]}</xml>) (signal itemSource)}/>
+ <dyn signal={Monad.mp cdata (signal itemSource)}/>
</li></xml>) itemSources}
</ul>
</xml>