2 people like it.

Takes an array and splits it to arrays of arrays

To avoid too huge lists when doing recursion, SQL-IN-clauses, etc... Use the F# core version: chunkBySize

1: 
[|1..100000|] |> Array.chunkBySize 1000
module Array

from Microsoft.FSharp.Collections

More information

Link:http://fssnip.net/sB
Posted:2 years ago
Author:Tuomas Hietanen
Tags: slice , chunk , split , array