<i>lsearch returns different results depending on order of -bisect and -exact arguments</i>.
by
.
D 2021-12-30T14:12:29.889
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment In\sthe\sfollowing\sexample,\sswapping\s<code>-bisect</code>\sand\s<code>-exact</code>\r\ncauses\s<code>lsearch</code>\sto\sbehave\sdifferently:\r\n\r\n<code><verbatim>\r\n%\slsearch\s-bisect\s-exact\s-stride\s2\s-index\s0\s{one\stwo}\sthree\r\n-1\r\n%\slsearch\s-exact\s-bisect\s-stride\s2\s-index\s0\s{one\stwo}\sthree\r\n0\r\n</verbatim></code>
J is_private 0
J login pooryorick
J priority 5\sMedium
J resolution None
J severity Important
J status Open
J submitter pooryorick
J subsystem 17.\sCommands\sI-L
J title lsearch\sreturns\sdifferent\sresults\sdepending\son\sorder\sof\s-bisect\sand\s-exact\sarguments
J type Bug
K a5a99f0aef0a6923c4a3ef4c744527a0ed328901
U pooryorick
Z 9d4687f93b0015a1cbbae86bf8a42154