diff options
author | 2010-07-21 09:46:51 +0200 | |
---|---|---|
committer | 2010-07-21 09:46:51 +0200 | |
commit | 5b7eafd0f00a16d78f99a27f5c7d5a0de77dc7e6 (patch) | |
tree | 631ad791a7685edafeb1fb2e8faeedc8379318ae /plugins/nsatz/utile.mli | |
parent | da178a880e3ace820b41d38b191d3785b82991f5 (diff) |
Imported Upstream snapshot 8.3~beta0+13298
Diffstat (limited to 'plugins/nsatz/utile.mli')
-rw-r--r-- | plugins/nsatz/utile.mli | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/nsatz/utile.mli b/plugins/nsatz/utile.mli new file mode 100644 index 00000000..83b2ac39 --- /dev/null +++ b/plugins/nsatz/utile.mli @@ -0,0 +1,22 @@ + +(* Printing *) +val pr : string -> unit +val prn : string -> unit +val prt0 : 'a -> unit +val prt : string -> unit +val info : string -> unit + +(* Listes *) +val list_mem_eq : ('a -> 'b -> bool) -> 'a -> 'b list -> bool +val set_of_list_eq : ('a -> 'a -> bool) -> 'a list -> 'a list + +(* Memoization *) +val memos : + string -> ('a, 'b) Hashtbl.t -> ('c -> 'a) -> ('c -> 'b) -> 'c -> 'b + + +val facteurs_liste : ('a -> 'a -> 'a) -> ('a -> bool) -> 'a list -> 'a list +val factorise_tableau : + ('a -> 'b -> 'a) -> + ('a -> bool) -> + 'a -> 'a array -> 'b array -> 'b array * ('a * int list) array |