summaryrefslogtreecommitdiff
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
commit5e954e635e58d3a7b34d6dc60d7c4aabd1c752f4 (patch)
tree942f83c942b7d41f09fd7b7056f662036975cd75
parent74185b59e03d86fccafab554c04aa7171b1e22fd (diff)
Use cdata for shorter Monad map
-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>