1995-08-09 08:06:35 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Caml Special Light *)
|
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 1995 Institut National de Recherche en Informatique et *)
|
|
|
|
(* Automatique. Distributed only by permission. *)
|
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
(* Compilation of pattern-matching *)
|
|
|
|
|
|
|
|
open Typedtree
|
|
|
|
open Lambda
|
|
|
|
|
|
|
|
val for_function:
|
1995-07-02 09:45:21 -07:00
|
|
|
Location.t -> lambda -> (pattern * lambda) list -> lambda
|
1995-05-04 03:15:53 -07:00
|
|
|
val for_trywith:
|
|
|
|
Ident.t -> (pattern * lambda) list -> lambda
|
|
|
|
val for_let:
|
|
|
|
Location.t -> Ident.t -> pattern -> lambda -> lambda
|