diff options
| author | herbelin | 2003-10-13 16:42:12 +0000 |
|---|---|---|
| committer | herbelin | 2003-10-13 16:42:12 +0000 |
| commit | 7f789e080d1b4b6ce6751ea024c82e0c84035bce (patch) | |
| tree | 7095fab088dd0a71a0ab9eedeb9b78978c3ff204 /lib/util.ml | |
| parent | 891a2bbb018ef4ffba30f05de54f32b90dde68ec (diff) | |
Ajout projections de triplet
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4625 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib/util.ml')
| -rw-r--r-- | lib/util.ml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/util.ml b/lib/util.ml index 4d86f04f51..117eeef1fe 100644 --- a/lib/util.ml +++ b/lib/util.ml @@ -31,6 +31,12 @@ let user_err_loc (loc,s,strm) = Stdpp.raise_with_loc loc (UserError (s,strm)) let invalid_arg_loc (loc,s) = Stdpp.raise_with_loc loc (Invalid_argument s) let join_loc (deb1,_) (_,fin2) = (deb1,fin2) +(* Projections from triplets *) + +let pi1 (a,_,_) = a +let pi2 (_,a,_) = a +let pi3 (_,_,a) = a + (* Characters *) let is_letter c = |
