aboutsummaryrefslogtreecommitdiffhomepage
path: root/demo/more/dlist.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-09-19 13:44:12 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-09-19 13:44:12 -0400
commitdf4c988ff8d326d0e6c94d9d31712c3bd3a53eb0 (patch)
treeda7d19f0f8711523ec52bc98419c70d410b0ea69 /demo/more/dlist.urs
parent04b98841de74bdf38e905729a501b34913902db7 (diff)
Testing Dlist StartPosition with constant offset
Diffstat (limited to 'demo/more/dlist.urs')
-rw-r--r--demo/more/dlist.urs3
1 files changed, 2 insertions, 1 deletions
diff --git a/demo/more/dlist.urs b/demo/more/dlist.urs
index b25e41a1..cd42f9ee 100644
--- a/demo/more/dlist.urs
+++ b/demo/more/dlist.urs
@@ -12,7 +12,8 @@ val foldl : t ::: Type -> acc ::: Type -> (t -> acc -> signal acc) -> acc -> dli
val render : ctx ::: {Unit} -> [ctx ~ body] => t ::: Type
-> (t -> position -> xml (ctx ++ body) [] [])
- -> {Filter : t -> signal bool,
+ -> {StartPosition : signal (option int),
+ Filter : t -> signal bool,
Sort : signal (option (t -> t -> signal bool)) (* <= *)}
-> dlist t
-> xml (ctx ++ body) [] []