History of Idiom 222 > diff from v13 to v14
Edit summary for version 14 by programming-idioms.org:
Restored version 12
Restored version 12
↷
Version 13
2020-07-14, 19:10:14
Version 14
2020-07-18, 20:46:19
Idiom #222 Find first index of an element in list
Set i to the first index in list items at which the element x can be found, or -1 if items does not contain x.
Idiom #222 Find first index of an element in list
Set i to the first index in list items at which the element x can be found, or -1 if items does not contain x.
Comments bubble
Comments bubble
The rest is some (potentially useless/ugly) implementation of "returning -1"