diff lib/ur/list.urs @ 1322:80bff6449f41

Fix a bug in C list unurlification
author Adam Chlipala <adam@chlipala.net>
date Sun, 21 Nov 2010 15:43:24 -0500
parents 4172863d049d
children 9e0fa4f6ac93
line wrap: on
line diff
--- a/lib/ur/list.urs	Sat Nov 20 10:45:22 2010 -0500
+++ b/lib/ur/list.urs	Sun Nov 21 15:43:24 2010 -0500
@@ -71,6 +71,8 @@
 
 val sort : a ::: Type -> (a -> a -> bool) (* > predicate *) -> t a -> t a
 
+val nth : a ::: Type -> list a -> int -> option a
+
 (** Association lists *)
 
 val assoc : a ::: Type -> b ::: Type -> eq a -> a -> t (a * b) -> option b