package core_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Base.Binary_searchable.S
type elt
type t

See Binary_search.binary_search in binary_search.ml

val binary_search_segmented : ?pos:int -> ?len:int -> t -> segment_of:(elt -> [ `Left | `Right ]) -> [ `Last_on_left | `First_on_right ] -> int option

See Binary_search.binary_search_segmented in binary_search.ml

module For_test : Test_binary_searchable_intf.For_test with type elt := elt with type t := t

To implement the tests, we need two different elt values small < big, to be able to compare those values, and to be able to construct a t containing those values.