Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 813 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 813 Bytes

Bsearch

Build Status Hex.pm Documentation

Implementation of a binary search using tuples.

Installation

The package can be installed by adding bsearch to your list of dependencies in mix.exs:

def deps do
  [
    {:bsearch, "~> 0.1.0"}
  ]
end

TODO

  • member?/find_index
    • use module.compare to compare certain data types
    • find by function - like use a function to enter a map or something
  • valid? - check if the tuple is valid to be used by the binary search