From 09fa9b42130335ddb8876b9be05f780093519864 Mon Sep 17 00:00:00 2001 From: forsyth Date: Thu, 7 Apr 2011 10:04:31 +0100 Subject: 20110407-1004 --- module/lists.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'module') diff --git a/module/lists.m b/module/lists.m index 5c0678ff..fb6f83ab 100644 --- a/module/lists.m +++ b/module/lists.m @@ -11,7 +11,9 @@ Lists: module concat: fn[T](l: list of T, l2: list of T): list of T; combine: fn[T](l: list of T, l2: list of T): list of T; reverse: fn[T](l: list of T): list of T; - last: fn[T](l: list of T): T; + last: fn[T](l: list of T): T; + find: fn[T](x: T, l: list of T): list of T + for { T => eq: fn(a, b: T): int; }; delete: fn[T](x: T, l: list of T): list of T for { T => eq: fn(a, b: T): int; }; pair: fn[T1, T2](l1: list of T1, l2: list of T2): list of (T1, T2); -- cgit v1.2.3