Support key function#13
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #13 +/- ##
===========================================
- Coverage 95.00% 78.57% -16.43%
===========================================
Files 4 4
Lines 40 56 +16
===========================================
+ Hits 38 44 +6
- Misses 2 12 +10 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
If you're amenable to adding this functionality, please let me know and I'll happily add tests. |
|
Hi @yurrriq, I just saw you made this PR. Sorry for the late reply! I will have a look soon! |
|
Hi @yurrriq, sorry I haven't been working on this for so long! Could you provide some examples or tests on how to use this |
|
Hey, no worries! Me neither 😅. I'll try to have a go this weekend or soon for some definition. |
|
Sure. Please take your time! |
I found myself needing a
keyfunction forbisect_rightand noticed this library didn't support it so I had to write my own. I figured I'd see if you're interested.I went ahead and added the
keyfunctionality tobisect_left,insort_left, andinsort_right, too.