Up – Package index » hack_parallel » Library hack_parallel.collections » IMap* 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 root 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 include sig ... end Source val update : key -> ('a option -> 'a option ) -> 'a t -> 'a t Source val merge :
(key -> 'a option -> 'b option -> 'c option ) ->
'a t ->
'b t ->
'c t Source val iter : (key -> 'a -> unit) -> 'a t -> unitSource val fold : (key -> 'a -> 'b -> 'b ) -> 'a t -> 'b -> 'b Source val for_all : (key -> 'a -> bool) -> 'a t -> boolSource val exists : (key -> 'a -> bool) -> 'a t -> boolSource val filter_map : (key -> 'a -> 'b option ) -> 'a t -> 'b t Source val partition : (key -> 'a -> bool) -> 'a t -> 'a t * 'a t Source val min_binding_opt : 'a t -> (key * 'a ) optionSource val max_binding_opt : 'a t -> (key * 'a ) optionSource val find_first_opt : (key -> bool) -> 'a t -> (key * 'a ) optionSource val find_last_opt : (key -> bool) -> 'a t -> (key * 'a ) optionSource val map : ('a -> 'b ) -> 'a t -> 'b t Source val add : ?combine :('a -> 'a -> 'a ) -> key -> 'a -> 'a t -> 'a t Source val union : ?combine :(key -> 'a -> 'a -> 'a option ) -> 'a t -> 'a t -> 'a t Source val map_env : ('c -> 'a -> 'c * 'b ) -> 'c -> 'a t -> 'c * 'b t