From 13e3b7139dcee90106332ff4fb5b3c63fcf4a892 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Thu, 17 Sep 2009 16:35:11 -0400 Subject: Basic tail recursion introduction seems to be working --- demo/more/dlist.urs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'demo/more/dlist.urs') diff --git a/demo/more/dlist.urs b/demo/more/dlist.urs index b912139e..b25e41a1 100644 --- a/demo/more/dlist.urs +++ b/demo/more/dlist.urs @@ -4,6 +4,8 @@ type position 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 replace : t ::: Type -> dlist t -> list t -> transaction unit + 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 -- cgit v1.2.3