comparison 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
comparison
equal deleted inserted replaced
936:6966d98c80b5 937:37dd42935dad
4 val create : t ::: Type -> transaction (dlist t) 4 val create : t ::: Type -> transaction (dlist t)
5 val clear : t ::: Type -> dlist t -> transaction unit 5 val clear : t ::: Type -> dlist t -> transaction unit
6 val append : t ::: Type -> dlist t -> t -> transaction position 6 val append : t ::: Type -> dlist t -> t -> transaction position
7 val delete : position -> transaction unit 7 val delete : position -> transaction unit
8 val elements : t ::: Type -> dlist t -> signal (list t) 8 val elements : t ::: Type -> dlist t -> signal (list t)
9 val foldl : t ::: Type -> acc ::: Type -> (t -> acc -> signal acc) -> acc -> dlist t -> signal acc
9 10
10 val render : ctx ::: {Unit} -> [ctx ~ body] => t ::: Type 11 val render : ctx ::: {Unit} -> [ctx ~ body] => t ::: Type
11 -> (t -> position -> xml (ctx ++ body) [] []) 12 -> (t -> position -> xml (ctx ++ body) [] [])
12 -> dlist t 13 -> dlist t
13 -> xml (ctx ++ body) [] [] 14 -> xml (ctx ++ body) [] []