diff options
| author | Hugo Herbelin | 2014-10-04 19:18:34 +0200 |
|---|---|---|
| committer | Hugo Herbelin | 2014-10-05 00:17:14 +0200 |
| commit | 5c7cfb7a934f9a581d6ddc530a4c6fb01cd58aa1 (patch) | |
| tree | 127e7fbedfec3ac3d9cfa420754e8b192ebd2942 /lib/cArray.mli | |
| parent | c22ccd90ec45099a2e97620f32ed89e0b81daa96 (diff) | |
A few improvements on pattern-matching compilation.
- Optimize the removal of generalization when there is no dependency in
the generalized variable (see postprocess_dependencies, and the removal
of dependencies in the default type of impossible cases).
- Compute the onlydflt flag correctly (what allows automatic treatment
of impossible cases even when there is no clause at all).
Diffstat (limited to 'lib/cArray.mli')
| -rw-r--r-- | lib/cArray.mli | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cArray.mli b/lib/cArray.mli index 28f5110eed..39c35e2d54 100644 --- a/lib/cArray.mli +++ b/lib/cArray.mli @@ -23,6 +23,8 @@ sig val exists : ('a -> bool) -> 'a array -> bool (** As [List.exists] but on arrays. *) + val exists2 : ('a -> 'b -> bool) -> 'a array -> 'b array -> bool + val for_all : ('a -> bool) -> 'a array -> bool val for_all2 : ('a -> 'b -> bool) -> 'a array -> 'b array -> bool val for_all3 : ('a -> 'b -> 'c -> bool) -> |
