Module extra::list

A standard, garbage-collected linked list.

Enums

List
MutList

Functions

append

Appends one list to another

each

Iterate over a list

find

Search for an element that matches a given predicate

foldl

Left fold

from_vec

Create a list from a vector

has

Returns true if a list contains an element with the given value

head

Returns the first element of a list

is_empty

Returns true if the list is empty

iter

Iterate over a list

len

Returns the length of a list

tail

Returns all but the first element of a list