Skip to content

Commit 24817d1

Browse files
Merge branch 'master' into repo-assist/test-seq-coverage-2026-03-12-3b7073999ed37882
2 parents 7bd2c39 + 5067316 commit 24817d1

File tree

16 files changed

+700
-375
lines changed

16 files changed

+700
-375
lines changed
Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Auto-Generated by FAKE; do not edit
22
namespace System
3+
34
open System.Reflection
45
open System.Runtime.CompilerServices
56

@@ -14,11 +15,27 @@ open System.Runtime.CompilerServices
1415
do ()
1516

1617
module internal AssemblyVersionInformation =
17-
let [<Literal>] AssemblyTitle = "FSharpx.Collections.Experimental"
18-
let [<Literal>] AssemblyProduct = "FSharpx.Collections"
19-
let [<Literal>] AssemblyDescription = "FSharpx.Collections is a collection of datastructures for use with F# and C#."
20-
let [<Literal>] InternalsVisibleTo = "FSharpx.Collections.Tests"
21-
let [<Literal>] InternalsVisibleTo_1 = "FSharpx.Collections.Experimental.Tests"
22-
let [<Literal>] AssemblyVersion = "3.1.0"
23-
let [<Literal>] AssemblyFileVersion = "3.1.0"
24-
let [<Literal>] AssemblyConfiguration = "Release"
18+
[<Literal>]
19+
let AssemblyTitle = "FSharpx.Collections.Experimental"
20+
21+
[<Literal>]
22+
let AssemblyProduct = "FSharpx.Collections"
23+
24+
[<Literal>]
25+
let AssemblyDescription =
26+
"FSharpx.Collections is a collection of datastructures for use with F# and C#."
27+
28+
[<Literal>]
29+
let InternalsVisibleTo = "FSharpx.Collections.Tests"
30+
31+
[<Literal>]
32+
let InternalsVisibleTo_1 = "FSharpx.Collections.Experimental.Tests"
33+
34+
[<Literal>]
35+
let AssemblyVersion = "3.1.0"
36+
37+
[<Literal>]
38+
let AssemblyFileVersion = "3.1.0"
39+
40+
[<Literal>]
41+
let AssemblyConfiguration = "Release"
Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,123 +1,123 @@
1-
namespace FSharpx.Collections.Experimental
1+
namespace FSharpx.Collections.Experimental
22

33
[<Struct>]
44
type FlatList<'T> =
55

6-
val internal array : 'T[]
6+
val internal array: 'T[]
77
interface System.Collections.Generic.IEnumerable<'T>
88
interface System.Collections.IEnumerable
99

1010
/// O(1). Returns flatlist element at the index.
11-
member Item : int -> 'T with get
11+
member Item: int -> 'T with get
1212

1313
/// O(1). Returns the number of items in the flatlist.
14-
member Length : int
14+
member Length: int
1515

1616
/// O(1). Returns true if the flatlist has no elements.
17-
member IsEmpty : bool
17+
member IsEmpty: bool
1818

1919
[<RequireQualifiedAccess>]
2020
module FlatList =
2121

2222
/// O(n). Creates a flatlist that contains the elements of one flatlist followed by the elements of another flatlist.
23-
val append : FlatList<'T> -> FlatList<'T> -> FlatList<'T>
23+
val append: FlatList<'T> -> FlatList<'T> -> FlatList<'T>
2424

2525
///O(n). Applies the supplied function to each element of a flatlist, concatenates the results, and returns the combined flatlist.
26-
val collect : ('T -> FlatList<'T>) -> FlatList<'T> -> FlatList<'T>
26+
val collect: ('T -> FlatList<'T>) -> FlatList<'T> -> FlatList<'T>
2727

2828
/// O(n). Creates a flatlist that contains the elements of each of the supplied sequence of flatlists.
29-
val concat : FlatList<'T []> -> FlatList<'T>
29+
val concat: FlatList<'T[]> -> FlatList<'T>
3030

3131
/// O(1). Returns flatlist of no elements.
3232
[<GeneralizableValue>]
33-
val empty<'T> : FlatList<'T>
33+
val empty<'T> : FlatList<'T>
3434

3535
/// O(n) worst case. Tests whether any element of a flatlist satisfies the supplied predicate.
36-
val exists : ('T -> bool) -> FlatList<'T> -> bool
36+
val exists: ('T -> bool) -> FlatList<'T> -> bool
3737

3838
/// O(n). Returns a flatlist that contains only the elements of the supplied flatlist for which the supplied condition returns true.
39-
val filter : ('T -> bool) -> FlatList<'T> -> FlatList<'T>
39+
val filter: ('T -> bool) -> FlatList<'T> -> FlatList<'T>
4040

41-
/// 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.
42-
val fold : ('State -> 'T -> 'State) -> 'State -> FlatList<'T> -> 'State
41+
/// 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.
42+
val fold: ('State -> 'T -> 'State) -> 'State -> FlatList<'T> -> 'State
4343

4444
/// 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.
45-
val fold2 : ('State -> 'T1 -> 'T2 -> 'State) -> 'State -> FlatList<'T1> -> FlatList<'T2> -> 'State
46-
45+
val fold2: ('State -> 'T1 -> 'T2 -> 'State) -> 'State -> FlatList<'T1> -> FlatList<'T2> -> 'State
46+
4747
/// 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.
48-
val foldBack : ('T -> 'State -> 'State) -> FlatList<'T> -> 'State -> 'State
48+
val foldBack: ('T -> 'State -> 'State) -> FlatList<'T> -> 'State -> 'State
4949

5050
/// 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.
51-
val foldBack2 : ('T1 -> 'T2 -> 'State -> 'State) -> FlatList<'T1> -> FlatList<'T2> -> 'State -> 'State
51+
val foldBack2: ('T1 -> 'T2 -> 'State -> 'State) -> FlatList<'T1> -> FlatList<'T2> -> 'State -> 'State
5252

5353
/// O(n). Tests whether all elements of a flatlist satisfy the supplied condition.
54-
val forall : ('T -> bool) -> FlatList<'T> -> bool
54+
val forall: ('T -> bool) -> FlatList<'T> -> bool
5555

5656
/// O(n). Tests whether all corresponding elements of two supplied flatlists satisfy a supplied condition.
57-
val forall2 : ('T1 -> 'T2 -> bool) -> FlatList<'T1> -> FlatList<'T2> -> bool
57+
val forall2: ('T1 -> 'T2 -> bool) -> FlatList<'T1> -> FlatList<'T2> -> bool
5858

5959
/// O(n). Uses a supplied function to create a flatlist of the supplied dimension.
60-
val init : int -> f:(int -> 'T) -> FlatList<'T>
61-
60+
val init: int -> f: (int -> 'T) -> FlatList<'T>
61+
6262
/// O(1). O(1). Returns true if the flatlist has no elements.
63-
val isEmpty : FlatList<'T> -> bool
64-
63+
val isEmpty: FlatList<'T> -> bool
64+
6565
/// O(n). Applies the supplied function to each element of a flatlist.
66-
val iter : ('T -> unit) -> FlatList<'T> -> unit
66+
val iter: ('T -> unit) -> FlatList<'T> -> unit
6767

6868
/// 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.
69-
val iter2 : ('T1 -> 'T2 -> unit) -> FlatList<'T1> -> FlatList<'T2> -> unit
69+
val iter2: ('T1 -> 'T2 -> unit) -> FlatList<'T1> -> FlatList<'T2> -> unit
7070

7171
/// O(n). Applies the supplied function to each element of a flatlist. The integer passed to the function indicates the index of the element.
72-
val iteri : (int -> 'T -> unit) -> FlatList<'T> -> unit
72+
val iteri: (int -> 'T -> unit) -> FlatList<'T> -> unit
7373

7474
/// O(1). Returns the number of items in the flatlist.
75-
val length : FlatList<'T> -> int
75+
val length: FlatList<'T> -> int
7676

7777
/// O(n). Creates a flatlist whose elements are the results of applying the supplied function to each of the elements of a supplied flatlist.
78-
val map : ('T1 -> 'T2) -> FlatList<'T1> -> FlatList<'T2>
78+
val map: ('T1 -> 'T2) -> FlatList<'T1> -> FlatList<'T2>
7979

8080
/// 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.
81-
val map2 : ('T1 -> 'T2 -> 'T3) -> FlatList<'T1> -> FlatList<'T2> -> FlatList<'T3>
81+
val map2: ('T1 -> 'T2 -> 'T3) -> FlatList<'T1> -> FlatList<'T2> -> FlatList<'T3>
8282

8383
/// 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.
84-
val mapi : (int -> 'T1 -> 'T2) -> FlatList<'T1> -> FlatList<'T2>
84+
val mapi: (int -> 'T1 -> 'T2) -> FlatList<'T1> -> FlatList<'T2>
8585

8686
/// O(n). Creates a flatlist from the supplied list.
87-
val ofList : 'T list -> FlatList<'T>
88-
87+
val ofList: 'T list -> FlatList<'T>
88+
8989
/// O(n). Creates a flatlist from the supplied enumerable object.
90-
val ofSeq : seq<'T> -> FlatList<'T>
90+
val ofSeq: seq<'T> -> FlatList<'T>
9191

9292
/// 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.
93-
val partition : ('T -> bool) -> FlatList<'T> -> FlatList<'T> * FlatList<'T>
93+
val partition: ('T -> bool) -> FlatList<'T> -> FlatList<'T> * FlatList<'T>
9494

9595
/// 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
9797

9898
/// 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>
100100

101101
/// O(1). Returns a flatlist of one element.
102-
val singleton : 'T -> FlatList<'T>
102+
val singleton: 'T -> FlatList<'T>
103103

104104
/// O(n). Returns the sum of the elements in the flatlist.
105-
val sum : FlatList<int> -> int
105+
val sum: FlatList<int> -> int
106106

107107
/// 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
109109

110110
/// O(n). Converts the supplied flatlist to a list.
111-
val toList : FlatList<'T> -> 'T list
111+
val toList: FlatList<'T> -> 'T list
112112

113113
/// 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
115115

116116
/// 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
118118

119119
/// 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>
121121

122122
/// 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>
Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Auto-Generated by FAKE; do not edit
22
namespace System
3+
34
open System.Reflection
45
open System.Runtime.CompilerServices
56

@@ -14,11 +15,27 @@ open System.Runtime.CompilerServices
1415
do ()
1516

1617
module internal AssemblyVersionInformation =
17-
let [<Literal>] AssemblyTitle = "FSharpx.Collections"
18-
let [<Literal>] AssemblyProduct = "FSharpx.Collections"
19-
let [<Literal>] AssemblyDescription = "FSharpx.Collections is a collection of datastructures for use with F# and C#."
20-
let [<Literal>] InternalsVisibleTo = "FSharpx.Collections.Tests"
21-
let [<Literal>] InternalsVisibleTo_1 = "FSharpx.Collections.Experimental.Tests"
22-
let [<Literal>] AssemblyVersion = "3.1.0"
23-
let [<Literal>] AssemblyFileVersion = "3.1.0"
24-
let [<Literal>] AssemblyConfiguration = "Release"
18+
[<Literal>]
19+
let AssemblyTitle = "FSharpx.Collections"
20+
21+
[<Literal>]
22+
let AssemblyProduct = "FSharpx.Collections"
23+
24+
[<Literal>]
25+
let AssemblyDescription =
26+
"FSharpx.Collections is a collection of datastructures for use with F# and C#."
27+
28+
[<Literal>]
29+
let InternalsVisibleTo = "FSharpx.Collections.Tests"
30+
31+
[<Literal>]
32+
let InternalsVisibleTo_1 = "FSharpx.Collections.Experimental.Tests"
33+
34+
[<Literal>]
35+
let AssemblyVersion = "3.1.0"
36+
37+
[<Literal>]
38+
let AssemblyFileVersion = "3.1.0"
39+
40+
[<Literal>]
41+
let AssemblyConfiguration = "Release"

src/FSharpx.Collections/CircularBuffer.fsi

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@ type CircularBuffer<'T> =
99
interface System.Collections.Generic.IReadOnlyCollection<'T>
1010

1111
/// needs doc
12-
new : bufferSize:int -> CircularBuffer<'T>
12+
new: bufferSize: int -> CircularBuffer<'T>
1313
/// needs doc
14-
member Dequeue : count:int -> 'T []
14+
member Dequeue: count: int -> 'T[]
1515
/// needs doc
16-
member Enqueue : value:'T [] -> unit
16+
member Enqueue: value: 'T[] -> unit
1717
#if !FABLE_COMPILER
1818
/// needs doc
19-
member Enqueue : value:ArraySegment<'T> -> unit
19+
member Enqueue: value: ArraySegment<'T> -> unit
2020
#endif
2121
/// needs doc
22-
member Enqueue : value:'T -> unit
22+
member Enqueue: value: 'T -> unit
2323
/// needs doc
24-
member Enqueue : value:'T [] * offset:int -> unit
24+
member Enqueue: value: 'T[] * offset: int -> unit
2525
/// needs doc
26-
member Enqueue : value:'T [] * offset:int * count:int -> unit
26+
member Enqueue: value: 'T[] * offset: int * count: int -> unit
2727
/// needs doc
28-
member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<'T>
28+
member GetEnumerator: unit -> System.Collections.Generic.IEnumerator<'T>
2929
/// needs doc
30-
member Count : int
30+
member Count: int

0 commit comments

Comments
 (0)