/usr/lib/ocaml/facile/fcl_data.mli is in libfacile-ocaml-dev 1.1.1-1build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 33 34 35 36 37 38 | (***********************************************************************)
(* *)
(* FaCiLe *)
(* A Functional Constraint Library *)
(* *)
(* Nicolas Barnier, Pascal Brisset, LOG, CENA *)
(* *)
(* Copyright 2004 CENA. All rights reserved. This file is distributed *)
(* under the terms of the GNU Lesser General Public License. *)
(***********************************************************************)
(* $Id: fcl_data.mli,v 1.2 2004/07/30 13:09:43 barnier Exp $ *)
(** {1 Bactrackable Data Structures} *)
(** This module provides "efficient" backtrackable data structures,
i.e. with incremental setting and trailing. *)
module Array : sig
val set : 'a array -> int -> 'a -> unit
(** [set t i x] Bactrackable assignment of [t.(i)] with [x]. *)
end
(** Bactrackable arrays. *)
module Hashtbl : sig
type ('a, 'b) t
val create : int -> ('a, 'b) t
val get : ('a, 'b) t -> ('a, 'b) Hashtbl.t
val add : ('a, 'b) t -> 'a -> 'b -> unit
val find : ('a, 'b) t -> 'a -> 'b
val mem : ('a, 'b) t -> 'a -> bool
val remove : ('a, 'b) t -> 'a -> unit
val replace : ('a, 'b) t -> 'a -> 'b -> unit
val iter : ('a -> 'b -> unit) -> ('a, 'b) t -> unit
val fold : ('a -> 'b -> 'c -> 'c) -> ('a, 'b) t -> 'c -> 'c
end
(** Bactrackable hashtables.
This module provides a subset of the hashtable interface
of the OCaml standard library module Hashtbl (see {% ~\cite{ocaml}%}). *)
|