Up – Package index » hack_parallel » Library hack_parallel.utils » Utils* Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. *
hack_parallel README Library hack_parallel Library hack_parallel.collections Library hack_parallel.disk Library hack_parallel.hack_core Library hack_parallel.heap Library hack_parallel.hh_json Library hack_parallel.injection Library hack_parallel.interface Library hack_parallel.memory Library hack_parallel.procs Library hack_parallel.scheduler Library hack_parallel.socket Library hack_parallel.stubs Library hack_parallel.utils Sources Source val print_endlinef : ('a , unit, string, unit) format4 -> 'a Source val prerr_endlinef : ('a , unit, string, unit) format4 -> 'a Source val opt : ('a -> 'b -> 'a * 'c ) -> 'a -> 'b option -> 'a * 'c optionSource val opt_fold : ('a -> 'b -> 'a ) -> 'a -> 'b option -> 'a Source val singleton_if : bool -> 'a -> 'a listSource val wfold_left2 : ('a -> 'b -> 'c -> 'a ) -> 'a -> 'b list -> 'c list -> 'a Source val sl : string list -> stringSource val maybe : ('a -> 'b -> unit) -> 'a -> 'b option -> unitSource val unsafe_opt_note : string -> 'a option -> 'a Source val unsafe_opt : 'a option -> 'a Source val list_last : ('a -> 'b ) -> ('a -> unit) -> 'a list -> unitSource val is_prefix_dir : string -> string -> boolSource val iter_n_acc : int -> ('a -> 'a * 'b ) -> 'a -> 'a * 'b Source val strip_ns : string -> stringSource val strip_all_ns : string -> stringSource val iter2_shortest : ('a -> 'b -> 'c ) -> 'a list -> 'b list -> unitSource val fold_fun_list : 'a -> ('a -> 'a ) list -> 'a Source val compose : ('a -> 'b ) -> ('c -> 'a ) -> 'c -> 'b Source val try_finally : f :(unit -> 'a ) -> finally :(unit -> unit) -> 'a Source val with_context :
enter :(unit -> 'a ) ->
exit :(unit -> 'b ) ->
do_ :(unit -> 'c ) ->
'c Source val assert_false_log_backtrace : string option -> 'a Source val infimum : 'a array -> 'b -> ('a -> 'b -> int) -> int option