History of Idiom 222 > diff from v11 to v12
Edit summary for version 12 by strom-und-spiele:
New Rust implementation by user [strom-und-spiele]
New Rust implementation by user [strom-und-spiele]
↷
Version 11
2020-04-29, 00:34:41
Version 12
2020-06-04, 11:25:20
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
The rest is some (potentially useless/ugly) implementation of "returning -1"