File: types.mli

package info (click to toggle)
ocaml-doc 3.09-1
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 10,428 kB
  • ctags: 4,963
  • sloc: ml: 9,244; makefile: 2,413; ansic: 122; sh: 49; asm: 17
file content (32 lines) | stat: -rw-r--r-- 1,615 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
(***********************************************************************)
(*                                                                     *)
(*                           Objective Caml                            *)
(*                                                                     *)
(*               Pierre Weis, projet Cristal, INRIA Rocquencourt       *)
(*                                                                     *)
(*  Copyright 2001 Institut National de Recherche en Informatique et   *)
(*  en Automatique.  All rights reserved.  This file is distributed    *)
(*  only by permission.                                                *)
(*                                                                     *)
(***********************************************************************)
type type_simple and schma_de_types;;

val type_int : type_simple;;
val type_bool : type_simple;;
val type_flche : type_simple -> type_simple -> type_simple;;
val type_produit : type_simple -> type_simple -> type_simple;;
val type_liste : type_simple -> type_simple;;

val nouvelle_inconnue : unit -> type_simple;;
val unifie : type_simple -> type_simple -> unit;;
val gnralisation : type_simple -> schma_de_types;;
val spcialisation : schma_de_types -> type_simple;;
val schma_trivial : type_simple -> schma_de_types;;
val dbut_de_dfinition : unit -> unit;;
val fin_de_dfinition : unit -> unit;;

exception Conflit of type_simple * type_simple;;
exception Circularit of type_simple * type_simple;;

val imprime_type : type_simple -> unit;;
val imprime_schma : schma_de_types -> unit;;