1995-08-09 08:06:35 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
1996-04-30 07:53:58 -07:00
|
|
|
(* Objective Caml *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
1996-04-30 07:53:58 -07:00
|
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* 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:
|
1995-12-15 02:18:29 -08:00
|
|
|
lambda -> (pattern * lambda) list -> lambda
|
1995-05-04 03:15:53 -07:00
|
|
|
val for_let:
|
1995-12-15 02:18:29 -08:00
|
|
|
Location.t -> lambda -> pattern -> lambda -> lambda
|
|
|
|
val for_multiple_match:
|
|
|
|
Location.t -> lambda list -> (pattern * lambda) list -> lambda
|