Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita1a27a4

Browse files
PatrickMcDonaldlatkin
authored andcommitted
Implement chunkBySize and splitInto in Seq, List and Array
closesdotnet#261
1 parent1cae358 commita1a27a4

File tree

16 files changed

+377
-2
lines changed

16 files changed

+377
-2
lines changed

‎src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Collections/ArrayModule.fs‎

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,57 @@ type ArrayModule() =
144144

145145
()
146146

147+
[<Test>]
148+
memberthis.ChunkBySize()=
149+
150+
// int Seq
151+
Assert.AreEqual([|[|1..4|];[|5..8|]|], Array.chunkBySize4[|1..8|])
152+
Assert.AreEqual([|[|1..4|];[|5..8|];[|9..10|]|], Array.chunkBySize4[|1..10|])
153+
Assert.AreEqual([|[|1|];[|2|];[|3|];[|4|]|], Array.chunkBySize1[|1..4|])
154+
155+
// string Seq
156+
Assert.AreEqual([|[|"a";"b"|];[|"c";"d"|];[|"e"|]|], Array.chunkBySize2[|"a";"b";"c";"d";"e"|])
157+
158+
// empty Seq
159+
Assert.AreEqual([||], Array.chunkBySize3[||])
160+
161+
// null Seq
162+
letnullArr:_[]=null
163+
CheckThrowsArgumentNullException(fun()-> Array.chunkBySize3 nullArr|> ignore)
164+
165+
// invalidArg
166+
CheckThrowsArgumentException(fun()-> Array.chunkBySize0[|1..10|]|> ignore)
167+
CheckThrowsArgumentException(fun()-> Array.chunkBySize-1[|1..10|]|> ignore)
168+
169+
()
170+
171+
[<Test>]
172+
memberthis.SplitInto()=
173+
174+
// int array
175+
Assert.AreEqual([|[|1..4|];[|5..7|];[|8..10|]|], Array.splitInto3[|1..10|])
176+
Assert.AreEqual([|[|1..4|];[|5..8|];[|9..11|]|], Array.splitInto3[|1..11|])
177+
Assert.AreEqual([|[|1..4|];[|5..8|];[|9..12|]|], Array.splitInto3[|1..12|])
178+
179+
Assert.AreEqual([|[|1..2|];[|3|];[|4|];[|5|]|], Array.splitInto4[|1..5|])
180+
Assert.AreEqual([|[|1|];[|2|];[|3|];[|4|]|], Array.splitInto20[|1..4|])
181+
182+
// string array
183+
Assert.AreEqual([|[|"a";"b"|];[|"c";"d"|];[|"e"|]|], Array.splitInto3[|"a";"b";"c";"d";"e"|])
184+
185+
// empty array
186+
Assert.AreEqual([||], Array.splitInto3[||])
187+
188+
// null array
189+
letnullArr:_[]=null
190+
CheckThrowsArgumentNullException(fun()-> Array.splitInto3 nullArr|> ignore)
191+
192+
// invalidArg
193+
CheckThrowsArgumentException(fun()-> Array.splitInto0[|1..10|]|> ignore)
194+
CheckThrowsArgumentException(fun()-> Array.splitInto-1[|1..10|]|> ignore)
195+
196+
()
197+
147198
[<Test>]
148199
memberthis.distinct()=
149200
// distinct should work on empty array

‎src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Collections/ListModule.fs‎

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,50 @@ type ListModule() =
107107
Assert.AreEqual(22.476666666666666666666666667M, averageOfDecimal)
108108

109109
()
110-
110+
111+
[<Test>]
112+
memberthis.ChunkBySize()=
113+
114+
// int list
115+
Assert.AreEqual([[1..4];[5..8]], List.chunkBySize4[1..8])
116+
Assert.AreEqual([[1..4];[5..8];[9..10]], List.chunkBySize4[1..10])
117+
Assert.AreEqual([[1];[2];[3];[4]], List.chunkBySize1[1..4])
118+
119+
// string list
120+
Assert.AreEqual([["a";"b"];["c";"d"];["e"]], List.chunkBySize2["a";"b";"c";"d";"e"])
121+
122+
// empty list
123+
Assert.AreEqual([], List.chunkBySize3[])
124+
125+
// invalidArg
126+
CheckThrowsArgumentException(fun()-> List.chunkBySize0[1..10]|> ignore)
127+
CheckThrowsArgumentException(fun()-> List.chunkBySize-1[1..10]|> ignore)
128+
129+
()
130+
131+
[<Test>]
132+
memberthis.SplitInto()=
133+
134+
// int list
135+
Assert.AreEqual([[1..4];[5..7];[8..10]], List.splitInto3[1..10])
136+
Assert.AreEqual([[1..4];[5..8];[9..11]], List.splitInto3[1..11])
137+
Assert.AreEqual([[1..4];[5..8];[9..12]], List.splitInto3[1..12])
138+
139+
Assert.AreEqual([[1..2];[3];[4];[5]], List.splitInto4[1..5])
140+
Assert.AreEqual([[1];[2];[3];[4]], List.splitInto20[1..4])
141+
142+
// string list
143+
Assert.AreEqual([["a";"b"];["c";"d"];["e"]], List.splitInto3["a";"b";"c";"d";"e"])
144+
145+
// empty list
146+
Assert.AreEqual([], List.splitInto3[])
147+
148+
// invalidArg
149+
CheckThrowsArgumentException(fun()-> List.splitInto0[1..10]|> ignore)
150+
CheckThrowsArgumentException(fun()-> List.splitInto-1[1..10]|> ignore)
151+
152+
()
153+
111154
[<Test>]
112155
memberthis.distinct()=
113156
// distinct should work on empty list

‎src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Collections/SeqModule.fs‎

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,74 @@ type SeqModule() =
302302

303303
CheckThrowsArgumentNullException(fun()-> Seq.choose funcInt nullSeq|> ignore)
304304
()
305-
305+
306+
[<Test>]
307+
memberthis.ChunkBySize()=
308+
309+
letverify expected actual=
310+
Seq.zip expected actual
311+
|> Seq.iter((<||) VerifySeqsEqual)
312+
313+
// int Seq
314+
verify[[1..4];[5..8]]<| Seq.chunkBySize4{1..8}
315+
verify[[1..4];[5..8];[9..10]]<| Seq.chunkBySize4{1..10}
316+
verify[[1];[2];[3];[4]]<| Seq.chunkBySize1{1..4}
317+
318+
Seq.chunkBySize2(Seq.initInfinite id)
319+
|> Seq.take3
320+
|> verify[[0;1];[2;3];[4;5]]
321+
322+
Seq.chunkBySize1(Seq.initInfinite id)
323+
|> Seq.take5
324+
|> verify[[0];[1];[2];[3];[4]]
325+
326+
// string Seq
327+
verify[["a";"b"];["c";"d"];["e"]]<| Seq.chunkBySize2["a";"b";"c";"d";"e"]
328+
329+
// empty Seq
330+
verify Seq.empty<| Seq.chunkBySize3 Seq.empty
331+
332+
// null Seq
333+
letnullSeq:seq<_>=null
334+
CheckThrowsArgumentNullException(fun()-> Seq.chunkBySize3 nullSeq|> ignore)
335+
336+
// invalidArg
337+
CheckThrowsArgumentException(fun()-> Seq.chunkBySize0{1..10}|> ignore)
338+
CheckThrowsArgumentException(fun()-> Seq.chunkBySize-1{1..10}|> ignore)
339+
340+
()
341+
342+
[<Test>]
343+
memberthis.SplitInto()=
344+
345+
letverify expected actual=
346+
Seq.zip expected actual
347+
|> Seq.iter((<||) VerifySeqsEqual)
348+
349+
// int Seq
350+
Seq.splitInto3{1..10}|> verify(seq[{1..4};{5..7};{8..10}])
351+
Seq.splitInto3{1..11}|> verify(seq[{1..4};{5..8};{9..11}])
352+
Seq.splitInto3{1..12}|> verify(seq[{1..4};{5..8};{9..12}])
353+
354+
Seq.splitInto4{1..5}|> verify(seq[[1..2];[3];[4];[5]])
355+
Seq.splitInto20{1..4}|> verify(seq[[1];[2];[3];[4]])
356+
357+
// string Seq
358+
Seq.splitInto3["a";"b";"c";"d";"e"]|> verify([["a";"b"];["c";"d"];["e"]])
359+
360+
// empty Seq
361+
VerifySeqsEqual[]<| Seq.splitInto3[]
362+
363+
// null Seq
364+
letnullSeq:seq<_>=null
365+
CheckThrowsArgumentNullException(fun()-> Seq.splitInto3 nullSeq|> ignore)
366+
367+
// invalidArg
368+
CheckThrowsArgumentException(fun()-> Seq.splitInto0[1..10]|> ignore)
369+
CheckThrowsArgumentException(fun()-> Seq.splitInto-1[1..10]|> ignore)
370+
371+
()
372+
306373
[<Test>]
307374
memberthis.Compare()=
308375

‎src/fsharp/FSharp.Core.Unittests/SurfaceArea.net40.fs‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ Microsoft.FSharp.Collections.ArrayModule: T[] Truncate[T](Int32, T[])
173173
Microsoft.FSharp.Collections.ArrayModule: T[] Unfold[T,TState](Microsoft.FSharp.Core.FSharpFunc`2[TState,Microsoft.FSharp.Core.FSharpOption`1[System.Tuple`2[T,TState]]], TState)
174174
Microsoft.FSharp.Collections.ArrayModule: T[] Where[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Boolean], T[])
175175
Microsoft.FSharp.Collections.ArrayModule: T[] ZeroCreate[T](Int32)
176+
Microsoft.FSharp.Collections.ArrayModule: T[][] ChunkBySize[T](Int32, T[])
177+
Microsoft.FSharp.Collections.ArrayModule: T[][] SplitInto[T](Int32, T[])
176178
Microsoft.FSharp.Collections.ArrayModule: T[][] Windowed[T](Int32, T[])
177179
Microsoft.FSharp.Collections.ArrayModule: Void CopyTo[T](T[], Int32, T[], Int32, Int32)
178180
Microsoft.FSharp.Collections.ArrayModule: Void Fill[T](T[], Int32, Int32, T)
@@ -289,6 +291,8 @@ Microsoft.FSharp.Collections.ListModule: Int32 FindIndexBack[T](Microsoft.FSharp
289291
Microsoft.FSharp.Collections.ListModule: Int32 FindIndex[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Boolean], Microsoft.FSharp.Collections.FSharpList`1[T])
290292
Microsoft.FSharp.Collections.ListModule: Int32 GetHashCode()
291293
Microsoft.FSharp.Collections.ListModule: Int32 Length[T](Microsoft.FSharp.Collections.FSharpList`1[T])
294+
Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Collections.FSharpList`1[T]] ChunkBySize[T](Int32, Microsoft.FSharp.Collections.FSharpList`1[T])
295+
Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Collections.FSharpList`1[T]] SplitInto[T](Int32, Microsoft.FSharp.Collections.FSharpList`1[T])
292296
Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Collections.FSharpList`1[T]] Windowed[T](Int32, Microsoft.FSharp.Collections.FSharpList`1[T])
293297
Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.Int32,T]] Indexed[T](Microsoft.FSharp.Collections.FSharpList`1[T])
294298
Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[T,T]] Pairwise[T](Microsoft.FSharp.Collections.FSharpList`1[T])
@@ -441,6 +445,8 @@ Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1
441445
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[TResult] Map[T,TResult](Microsoft.FSharp.Core.FSharpFunc`2[T,TResult], System.Collections.Generic.IEnumerable`1[T])
442446
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[TState] ScanBack[T,TState](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[TState,TState]], System.Collections.Generic.IEnumerable`1[T], TState)
443447
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[TState] Scan[T,TState](Microsoft.FSharp.Core.FSharpFunc`2[TState,Microsoft.FSharp.Core.FSharpFunc`2[T,TState]], TState, System.Collections.Generic.IEnumerable`1[T])
448+
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T[]] ChunkBySize[T](Int32, System.Collections.Generic.IEnumerable`1[T])
449+
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T[]] SplitInto[T](Int32, System.Collections.Generic.IEnumerable`1[T])
444450
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T[]] Windowed[T](Int32, System.Collections.Generic.IEnumerable`1[T])
445451
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] Append[T](System.Collections.Generic.IEnumerable`1[T], System.Collections.Generic.IEnumerable`1[T])
446452
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] Cache[T](System.Collections.Generic.IEnumerable`1[T])

‎src/fsharp/FSharp.Core.Unittests/SurfaceArea.portable259.fs‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ Microsoft.FSharp.Collections.ArrayModule: T[] Truncate[T](Int32, T[])
160160
Microsoft.FSharp.Collections.ArrayModule: T[] Unfold[T,TState](Microsoft.FSharp.Core.FSharpFunc`2[TState,Microsoft.FSharp.Core.FSharpOption`1[System.Tuple`2[T,TState]]], TState)
161161
Microsoft.FSharp.Collections.ArrayModule: T[] Where[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Boolean], T[])
162162
Microsoft.FSharp.Collections.ArrayModule: T[] ZeroCreate[T](Int32)
163+
Microsoft.FSharp.Collections.ArrayModule: T[][] ChunkBySize[T](Int32, T[])
164+
Microsoft.FSharp.Collections.ArrayModule: T[][] SplitInto[T](Int32, T[])
163165
Microsoft.FSharp.Collections.ArrayModule: T[][] Windowed[T](Int32, T[])
164166
Microsoft.FSharp.Collections.ArrayModule: Void CopyTo[T](T[], Int32, T[], Int32, Int32)
165167
Microsoft.FSharp.Collections.ArrayModule: Void Fill[T](T[], Int32, Int32, T)
@@ -276,6 +278,8 @@ Microsoft.FSharp.Collections.ListModule: Int32 FindIndexBack[T](Microsoft.FSharp
276278
Microsoft.FSharp.Collections.ListModule: Int32 FindIndex[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Boolean], Microsoft.FSharp.Collections.FSharpList`1[T])
277279
Microsoft.FSharp.Collections.ListModule: Int32 GetHashCode()
278280
Microsoft.FSharp.Collections.ListModule: Int32 Length[T](Microsoft.FSharp.Collections.FSharpList`1[T])
281+
Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Collections.FSharpList`1[T]] ChunkBySize[T](Int32, Microsoft.FSharp.Collections.FSharpList`1[T])
282+
Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Collections.FSharpList`1[T]] SplitInto[T](Int32, Microsoft.FSharp.Collections.FSharpList`1[T])
279283
Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Collections.FSharpList`1[T]] Windowed[T](Int32, Microsoft.FSharp.Collections.FSharpList`1[T])
280284
Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.Int32,T]] Indexed[T](Microsoft.FSharp.Collections.FSharpList`1[T])
281285
Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[T,T]] Pairwise[T](Microsoft.FSharp.Collections.FSharpList`1[T])
@@ -428,6 +432,8 @@ Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1
428432
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[TResult] Map[T,TResult](Microsoft.FSharp.Core.FSharpFunc`2[T,TResult], System.Collections.Generic.IEnumerable`1[T])
429433
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[TState] ScanBack[T,TState](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[TState,TState]], System.Collections.Generic.IEnumerable`1[T], TState)
430434
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[TState] Scan[T,TState](Microsoft.FSharp.Core.FSharpFunc`2[TState,Microsoft.FSharp.Core.FSharpFunc`2[T,TState]], TState, System.Collections.Generic.IEnumerable`1[T])
435+
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T[]] ChunkBySize[T](Int32, System.Collections.Generic.IEnumerable`1[T])
436+
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T[]] SplitInto[T](Int32, System.Collections.Generic.IEnumerable`1[T])
431437
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T[]] Windowed[T](Int32, System.Collections.Generic.IEnumerable`1[T])
432438
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] Append[T](System.Collections.Generic.IEnumerable`1[T], System.Collections.Generic.IEnumerable`1[T])
433439
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] Cache[T](System.Collections.Generic.IEnumerable`1[T])

‎src/fsharp/FSharp.Core.Unittests/SurfaceArea.portable47.fs‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ Microsoft.FSharp.Collections.ArrayModule: T[] Truncate[T](Int32, T[])
157157
Microsoft.FSharp.Collections.ArrayModule: T[] Unfold[T,TState](Microsoft.FSharp.Core.FSharpFunc`2[TState,Microsoft.FSharp.Core.FSharpOption`1[System.Tuple`2[T,TState]]], TState)
158158
Microsoft.FSharp.Collections.ArrayModule: T[] Where[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Boolean], T[])
159159
Microsoft.FSharp.Collections.ArrayModule: T[] ZeroCreate[T](Int32)
160+
Microsoft.FSharp.Collections.ArrayModule: T[][] ChunkBySize[T](Int32, T[])
161+
Microsoft.FSharp.Collections.ArrayModule: T[][] SplitInto[T](Int32, T[])
160162
Microsoft.FSharp.Collections.ArrayModule: T[][] Windowed[T](Int32, T[])
161163
Microsoft.FSharp.Collections.ArrayModule: Void CopyTo[T](T[], Int32, T[], Int32, Int32)
162164
Microsoft.FSharp.Collections.ArrayModule: Void Fill[T](T[], Int32, Int32, T)
@@ -273,6 +275,8 @@ Microsoft.FSharp.Collections.ListModule: Int32 FindIndexBack[T](Microsoft.FSharp
273275
Microsoft.FSharp.Collections.ListModule: Int32 FindIndex[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Boolean], Microsoft.FSharp.Collections.FSharpList`1[T])
274276
Microsoft.FSharp.Collections.ListModule: Int32 GetHashCode()
275277
Microsoft.FSharp.Collections.ListModule: Int32 Length[T](Microsoft.FSharp.Collections.FSharpList`1[T])
278+
Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Collections.FSharpList`1[T]] ChunkBySize[T](Int32, Microsoft.FSharp.Collections.FSharpList`1[T])
279+
Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Collections.FSharpList`1[T]] SplitInto[T](Int32, Microsoft.FSharp.Collections.FSharpList`1[T])
276280
Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Collections.FSharpList`1[T]] Windowed[T](Int32, Microsoft.FSharp.Collections.FSharpList`1[T])
277281
Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.Int32,T]] Indexed[T](Microsoft.FSharp.Collections.FSharpList`1[T])
278282
Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[T,T]] Pairwise[T](Microsoft.FSharp.Collections.FSharpList`1[T])
@@ -425,6 +429,8 @@ Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1
425429
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[TResult] Map[T,TResult](Microsoft.FSharp.Core.FSharpFunc`2[T,TResult], System.Collections.Generic.IEnumerable`1[T])
426430
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[TState] ScanBack[T,TState](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[TState,TState]], System.Collections.Generic.IEnumerable`1[T], TState)
427431
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[TState] Scan[T,TState](Microsoft.FSharp.Core.FSharpFunc`2[TState,Microsoft.FSharp.Core.FSharpFunc`2[T,TState]], TState, System.Collections.Generic.IEnumerable`1[T])
432+
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T[]] ChunkBySize[T](Int32, System.Collections.Generic.IEnumerable`1[T])
433+
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T[]] SplitInto[T](Int32, System.Collections.Generic.IEnumerable`1[T])
428434
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T[]] Windowed[T](Int32, System.Collections.Generic.IEnumerable`1[T])
429435
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] Append[T](System.Collections.Generic.IEnumerable`1[T], System.Collections.Generic.IEnumerable`1[T])
430436
Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] Cache[T](System.Collections.Generic.IEnumerable`1[T])

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp