From 4c22a770f87d934091d3fd4700cdf201ba3a2fce Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Tue, 24 Mar 2015 13:39:39 +0100 Subject: [PATCH] rename benchmarks; doc --- _oasis | 4 ++-- benchs/{bench_hash.ml => run_bench_hash.ml} | 0 src/data/CCPersistentArray.mli | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename benchs/{bench_hash.ml => run_bench_hash.ml} (100%) diff --git a/_oasis b/_oasis index cda0e31d..60f7567d 100644 --- a/_oasis +++ b/_oasis @@ -161,12 +161,12 @@ Executable run_benchs containers.data, containers.string, containers.iter, sequence, gen, benchmark -Executable bench_hash +Executable run_bench_hash Path: benchs/ Install: false CompiledObject: best Build$: flag(bench) && flag(misc) - MainIs: bench_hash.ml + MainIs: run_bench_hash.ml BuildDepends: containers, containers.misc Executable run_test_future diff --git a/benchs/bench_hash.ml b/benchs/run_bench_hash.ml similarity index 100% rename from benchs/bench_hash.ml rename to benchs/run_bench_hash.ml diff --git a/src/data/CCPersistentArray.mli b/src/data/CCPersistentArray.mli index d5200153..914f5e95 100644 --- a/src/data/CCPersistentArray.mli +++ b/src/data/CCPersistentArray.mli @@ -77,8 +77,8 @@ val mapi : (int -> 'a -> 'b) -> 'a t -> 'b t val iter : ('a -> unit) -> 'a t -> unit val iteri : (int -> 'a -> unit) -> 'a t -> unit -(** [iter f t] applies function [f] to all elements of the persistent array, in order - from element [0] to element [length t - 1]. *) +(** [iter f t] applies function [f] to all elements of the persistent array, + in order from element [0] to element [length t - 1]. *) val fold_left : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a val fold_right : ('a -> 'b -> 'b) -> 'a t -> 'b -> 'b