bisect

Bisection algorithms ported from Python

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install bisect
choosenim install bisect
git clone https://github.com/berquist/bisect

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
bisect - - - - - - -

Source

Repository https://github.com/berquist/bisect
Homepage https://github.com/berquist/bisect
Registry Source nimble_official

README

bisect

nimble version nimble code build status nimble doc build status

Bisection algorithms ported from Python

Examples

import bisect

assert bisectLeft([1, 1, 2, 2], 2) == 2
assert bisectRight([1, 1, 2, 2], 2) == 4