I'm not taking offense, but the whole interpretation discussion (not started by you) is somehow ridiculous, fruitless. And a running gag found in too many threads.
IMHO there are three possible approaches:
I'd rather stick with option 3.
Cheers Rolf
*) And the superpower to understand the real problem behind that mind. For instance I doubt that the OP was aware of possible edgecases like unsorted input or missing borders. BTW: I was.
In reply to Re^5: List::MoreUtils before, after and ... between? (posting solutions for every possible interpretation)
by LanX
in thread List::MoreUtils before, after and ... between?
by Boldra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |