diff demo/more/dlist.urs @ 965:e9c5992bc9bc

Progress on sorting + filtering
author Adam Chlipala <adamc@hcoop.net>
date Sat, 19 Sep 2009 14:42:36 -0400
parents fbc3a0eef45a
children 68429cfce8db
line wrap: on
line diff
--- a/demo/more/dlist.urs	Sat Sep 19 14:21:25 2009 -0400
+++ b/demo/more/dlist.urs	Sat Sep 19 14:42:36 2009 -0400
@@ -9,6 +9,7 @@
 val delete : position -> transaction unit
 val elements : t ::: Type -> dlist t -> signal (list t)
 val size : t ::: Type -> dlist t -> signal int
+val numPassing : t ::: Type -> (t -> signal bool) -> dlist t -> signal int
 val foldl : t ::: Type -> acc ::: Type -> (t -> acc -> signal acc) -> acc -> dlist t -> signal acc
 
 val render : ctx ::: {Unit} -> [ctx ~ body] => t ::: Type