Head (inherited from list) |
Returns head (first element) of list. Given empty list throws System.ArgumentException. |
IsEmpty (inherited from list) |
Returns true if the given list is empty. |
Last (inherited from list) |
Returns last element of list. Given empty list throws InvalidArgument exception. Works in time O(n) and memory O(1). |
Length (inherited from list) |
|
Tail (inherited from list) |
Returns tail (all elements except the first one) of list. |
_N_GetVariantCode
|
|
Append (inherited from list) |
Returns list made from appending list y at end of list x. Original list are not modified. Works in time and memory O(length(x)). |
Contains (inherited from list) |
List membership test, using the `Equals' method to compare objects. |
ContainsRef (inherited from list) |
List membership test, using the reference equality. |
DivideLast (inherited from list) |
Returns a list without its last element and the list's last element |
Equals (inherited from list) |
Overloaded. |
Exists (inherited from list) |
Returns 'true' if at least one of the 'l' list's elements satisfies the condition 'f'. |
Filter (inherited from list) |
Removes elements for which predicate is false |
FilteredLength (inherited from list) |
Returns the number of elements for which a predicate is true. |
Find (inherited from list) |
Finds the first elements for which a predicate is true. |
FindAll (inherited from list) |
This is an alias for ``Filter'' |
FirstN (inherited from list) |
Returns first n elements of the list. Works in time and memory O(n). |
FoldLeft (inherited from list) |
|
FoldRight (inherited from list) |
|
ForAll (inherited from list) |
Returns 'true' if all of the 'l' list's elements satisfy the condition 'f'. |
GetElementType (inherited from list) |
|
GetEnumerator (inherited from list) |
Creates enumerator for elements of list. |
GetHashCode (inherited from list) |
|
GetType (inherited from Object) |
|
Iter (inherited from list) |
|
Map (inherited from list) |
|
Nth (inherited from list) |
|
Partition (inherited from list) |
Partitions a list into two sublists according to a predicate. |
Remove (inherited from list) |
Returns current list without elements equal to x. Equals method is used to compare elements. |
RevAppend (inherited from list) |
Equivalent to Reverse().Append(y), but faster. |
Reverse (inherited from list) |
Returns reversed list, i.e. [1,2,3].Reverse().Equals ([3,2,1]). Works in time and memory O(n). |
RevFilter (inherited from list) |
Removes elements for which predicate is false. The resulting list is reversed (operation is faster this way). |
RevMap (inherited from list) |
|
Sort (inherited from list) |
|
ToString (inherited from list) |
Overloaded. |
list.Nil Class | Nemerle.Core Namespace