aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/ur/list.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2010-11-21 15:43:24 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2010-11-21 15:43:24 -0500
commit4f2c619bb0971153c518f120c8911ce3a94f783d (patch)
treedce4ca25e55d3b9903a007859753068db4756515 /lib/ur/list.urs
parent61c8fdf76c28f65b8b483f68d2d1f5597fdf58ce (diff)
Fix a bug in C list unurlification
Diffstat (limited to 'lib/ur/list.urs')
-rw-r--r--lib/ur/list.urs2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ur/list.urs b/lib/ur/list.urs
index a0cec8fb..c23bf840 100644
--- a/lib/ur/list.urs
+++ b/lib/ur/list.urs
@@ -71,6 +71,8 @@ val mapQueryPartialM : tables ::: {{Type}} -> exps ::: {Type} -> t ::: Type
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