aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/ur/list.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2010-11-20 10:45:22 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2010-11-20 10:45:22 -0500
commit61c8fdf76c28f65b8b483f68d2d1f5597fdf58ce (patch)
treee61d2420230a82c747cb1a257ecb129179d95019 /lib/ur/list.urs
parentf21f9e29d19a8b241c1d6d790904001fdf384d59 (diff)
queryL1 and List.sort
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 7ce3c61f..a0cec8fb 100644
--- a/lib/ur/list.urs
+++ b/lib/ur/list.urs
@@ -69,6 +69,8 @@ val mapQueryPartialM : tables ::: {{Type}} -> exps ::: {Type} -> t ::: Type
-> ($(exps ++ map (fn fields :: {Type} => $fields) tables) -> transaction (option t))
-> transaction (list t)
+val sort : a ::: Type -> (a -> a -> bool) (* > predicate *) -> t a -> t a
+
(** Association lists *)
val assoc : a ::: Type -> b ::: Type -> eq a -> a -> t (a * b) -> option b