JuliaLang/julia — pull request #1788 by simonster (2012-12-19 22:19:31+00:00)
Title: Add search_sorted* for ranges

This PR incorporates #1786, but adds `search_sorted_first` and `search_sorted_last` for ranges and the appropriate aliases. Among other things, this means that `histc([1, 2, 2, 3], 1:3)` now works.