summaryrefslogtreecommitdiff
path: root/demo/more/dlist.urs
diff options
context:
space:
mode:
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 a55a1774..a775113e 100644
--- a/demo/more/dlist.urs
+++ b/demo/more/dlist.urs
@@ -1,7 +1,7 @@
con dlist :: Type -> Type
type position
-val create : t ::: Type -> {Filter : t -> signal bool} -> transaction (dlist t)
+val create : t ::: Type -> transaction (dlist t)
val clear : t ::: Type -> dlist t -> transaction unit
val append : t ::: Type -> dlist t -> t -> transaction position
val delete : position -> transaction unit
@@ -10,5 +10,6 @@ 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}
-> dlist t
-> xml (ctx ++ body) [] []