aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorletouzey2013-03-12 23:59:05 +0000
committerletouzey2013-03-12 23:59:05 +0000
commit3b7ecfa6d4da684a635b2469c2d9a2e1e0ed0807 (patch)
tree2ce23cad6a0067480658001f0636efbdd3269b51 /lib
parentb66d099bdda2ce1cfaeeb7938346a348ef4d40cd (diff)
invalid_arg instead of raise (Invalid_argement ...)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16270 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib')
-rw-r--r--lib/cList.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cList.ml b/lib/cList.ml
index 78c17c3ff3..8e031a0c90 100644
--- a/lib/cList.ml
+++ b/lib/cList.ml
@@ -788,7 +788,7 @@ let rec combine3 x y z =
| [], [], [] -> []
| (x :: xs), (y :: ys), (z :: zs) ->
(x, y, z) :: combine3 xs ys zs
- | _, _, _ -> raise (Invalid_argument "List.combine3")
+ | _, _, _ -> invalid_arg "List.combine3"
(* Keep only those products that do not return None *)