diff demo/more/dlist.urs @ 937:37dd42935dad

Summary row with aggregates
author Adam Chlipala <adamc@hcoop.net>
date Tue, 15 Sep 2009 10:18:56 -0400
parents 5e8b6fa5b48f
children da3ec6014d2f
line wrap: on
line diff
--- a/demo/more/dlist.urs	Tue Sep 15 09:45:46 2009 -0400
+++ b/demo/more/dlist.urs	Tue Sep 15 10:18:56 2009 -0400
@@ -6,6 +6,7 @@
 val append : t ::: Type -> dlist t -> t -> transaction position
 val delete : position -> transaction unit
 val elements : t ::: Type -> dlist t -> signal (list t)
+val foldl : t ::: Type -> acc ::: Type -> (t -> acc -> signal acc) -> acc -> dlist t -> signal acc
 
 val render : ctx ::: {Unit} -> [ctx ~ body] => t ::: Type
              -> (t -> position -> xml (ctx ++ body) [] [])