]> matita.cs.unibo.it Git - helm.git/commitdiff
added comment about 0 and 1 based indexes
authorStefano Zacchiroli <zack@upsilon.cc>
Mon, 24 Jun 2002 09:34:44 +0000 (09:34 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Mon, 24 Jun 2002 09:34:44 +0000 (09:34 +0000)
helm/ocaml/cic/cic.ml

index fd3e191a81a306461e8343bd764fb9639de81650..2429dcfeddb51b4bc2ec24fb6aa6e52143a0d03e 100644 (file)
@@ -65,8 +65,10 @@ and term =
  | Appl of term list                                (* arguments *)
  | Const of UriManager.uri * int                    (* uri, number of cookings*)
  | MutInd of UriManager.uri * int * int             (* uri, cookingsno, typeno*)
+                                                    (* typeno is 0 based *)
  | MutConstruct of UriManager.uri * int *           (* uri, cookingsno, *)
     int * int                                       (*  typeno, consno  *)
+                                                    (* consno is 1 based *)
  (*CSC: serve cookingsno?*)
  | MutCase of UriManager.uri * int *                (* ind. uri, cookingsno, *)
     int *                                           (*  ind. typeno,         *)
@@ -116,8 +118,10 @@ and annterm =
  | AAppl of id * annterm list                       (* arguments *)
  | AConst of id * UriManager.uri * int              (* uri, number of cookings*)
  | AMutInd of id * UriManager.uri * int * int       (* uri, cookingsno, typeno*)
+                                                    (* typeno is 0 based *)
  | AMutConstruct of id * UriManager.uri * int *     (* uri, cookingsno, *)
     int * int                                       (*  typeno, consno  *)
+                                                    (* consno is 1 based *)
  (*CSC: serve cookingsno?*)
  | AMutCase of id * UriManager.uri * int *          (* ind. uri, cookingsno  *)
     int *                                           (*  ind. typeno,         *)