aboutsummaryrefslogtreecommitdiffhomepage
path: root/demo/more/dlist.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-09-17 14:42:02 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-09-17 14:42:02 -0400
commitdb87f2d9dd9ef6ea5a9471e13fce81515900e4dc (patch)
tree20e527095124269a793c3f4e8df50358ee5e7314 /demo/more/dlist.urs
parente2170d73e8d43842996910a6b512df89e20be389 (diff)
Insert dummy Sort parameter
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 a775113e..b912139e 100644
--- a/demo/more/dlist.urs
+++ b/demo/more/dlist.urs
@@ -10,6 +10,7 @@ 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}
+ -> {Filter : t -> signal bool,
+ Sort : signal (option (t -> t -> signal bool)) (* <= *)}
-> dlist t
-> xml (ctx ++ body) [] []