Fuzion Logo
flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

searchableList

🌌searchableList

searchableList -- a list whose elements inherit from hasEquals

In contrast to searchablelist, this uses ref type 'list' and not choice
type 'list', so it is more flexible.

create a list from this List.

get the number of non-overlapping matches of l within this

get the number of matches of l

get the index of l within this list or nil if it does not exist

searchableList -- a list whose elements inherit from hasEquals

In contrast to searchablelist, this uses ref type 'list' and not choice
type 'list', so it is more flexible.

determine the index of element x within this list. 0 if x is at the
head of the list, 1 if it comes directly after head, etc. nil if x is
not in the list.

replace all occurances of f by r

does this list start with l?