You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// O(n). Applies a function to each element of a flatlist from left to right (first to last), threading an accumulator argument through the computation.
/// O(n). Applies a function to each element of a flatlist from left to right (first to last), threading an accumulator argument through the computation.
/// O(n). Applies a function to pairs of elements from two supplied flatlists, left-to-right, threading an accumulator argument through the computation. The two input flatlists must have the same lengths; otherwise, ArgumentException is raised.
/// O(n). Applies a function to each element of a flatlist from right to left (last to first), threading an accumulator argument through the computation.
/// O(n). Applies a function to pairs of elements from two supplied flatlists, right-to-left, threading an accumulator argument through the computation. The two input flatlists must have the same lengths; otherwise, ArgumentException is raised.
/// O(n). Uses a supplied function to create a flatlist of the supplied dimension.
60
-
valinit:int ->f:(int -> 'T) ->FlatList<'T>
61
-
60
+
valinit:int ->f:(int -> 'T) ->FlatList<'T>
61
+
62
62
/// O(1). O(1). Returns true if the flatlist has no elements.
63
-
valisEmpty:FlatList<'T>->bool
64
-
63
+
valisEmpty:FlatList<'T>->bool
64
+
65
65
/// O(n). Applies the supplied function to each element of a flatlist.
66
-
valiter:('T -> unit) ->FlatList<'T>->unit
66
+
valiter:('T -> unit) ->FlatList<'T>->unit
67
67
68
68
/// O(n). Applies the supplied function to a pair of elements from matching indexes in two flatlists, also passing the index of the elements. The two flatlists must have the same lengths; otherwise, an ArgumentException is raised.
/// O(n). Creates a flatlist whose elements are the results of applying the supplied function to the corresponding elements of two supplied flatlists. The two input flatlists must have the same lengths; otherwise, ArgumentException is raised.
/// O(n). Creates a flatlist whose elements are the results of applying the supplied function to each of the elements of a supplied flatlist. An integer index passed to the function indicates the index of the element being transformed.
/// O(n). Creates a flatlist from the supplied list.
87
-
valofList:'T list ->FlatList<'T>
88
-
87
+
valofList:'T list ->FlatList<'T>
88
+
89
89
/// O(n). Creates a flatlist from the supplied enumerable object.
90
-
valofSeq:seq<'T>->FlatList<'T>
90
+
valofSeq:seq<'T>->FlatList<'T>
91
91
92
92
/// O(n). Splits a flatlist into two flatlists, one containing the elements for which the supplied condition returns true, and the other containing those for which it returns false.
/// O(1). True if the flatlists are reference-equal, false otherwise
96
-
val physicalEquality: FlatList<'T>-> FlatList<'T>-> bool
96
+
val physicalEquality: FlatList<'T>-> FlatList<'T>-> bool
97
97
98
98
/// O(n). Reverses the order of the elements in a supplied array.
99
-
val rev: FlatList<'T>-> FlatList<'T>
99
+
val rev: FlatList<'T>-> FlatList<'T>
100
100
101
101
/// O(1). Returns a flatlist of one element.
102
-
val singleton: 'T -> FlatList<'T>
102
+
val singleton: 'T -> FlatList<'T>
103
103
104
104
/// O(n). Returns the sum of the elements in the flatlist.
105
-
val sum: FlatList<int>-> int
105
+
val sum: FlatList<int>-> int
106
106
107
107
/// O(n). Returns the sum of the results generated by applying a function to each element of a flatlist.
108
-
val sumBy:('T -> int)-> FlatList<'T>-> int
108
+
val sumBy:('T -> int)-> FlatList<'T>-> int
109
109
110
110
/// O(n). Converts the supplied flatlist to a list.
111
-
val toList: FlatList<'T>-> 'T list
111
+
val toList: FlatList<'T>-> 'T list
112
112
113
113
/// O(n). Converts the supplied flatlist of tuple pairs to a map.
114
-
val toMap: FlatList<'Key * 'T>-> Map<'Key,'T> when 'Key: comparison
114
+
val toMap: FlatList<'Key * 'T>-> Map<'Key,'T> when 'Key: comparison
115
115
116
116
/// O(n). Returns the first element in the supplied flatlist for which the supplied function returns true. Returns None if no such element exists.
117
-
val tryFind:('T -> bool)-> FlatList<'T>-> 'T option
117
+
val tryFind:('T -> bool)-> FlatList<'T>-> 'T option
118
118
119
119
/// O(n). Splits a flatlist of tuple pairs into a tuple of two flatlists.
120
-
val unzip: FlatList<'T1 * 'T2>-> FlatList<'T1>* FlatList<'T2>
120
+
val unzip: FlatList<'T1 * 'T2>-> FlatList<'T1>* FlatList<'T2>
121
121
122
122
/// O(n). Combines two flatlists into a flatlist of tuples that have two elements. The two flatlists must have equal lengths; otherwise, ArgumentException is raised.
123
-
val zip: FlatList<'T1>-> FlatList<'T2>-> FlatList<'T1 * 'T2>
123
+
val zip: FlatList<'T1>-> FlatList<'T2>-> FlatList<'T1 * 'T2>
0 commit comments