yarr-1.2.3: Yet another array library

Safe HaskellNone

Data.Yarr.Utils.Split

Synopsis

Documentation

makeSplitIndexSource

Arguments

:: Int

Number of chunks to split range on (n)

-> Int

Start of range

-> Int

End of range

-> Int -> Int

Split index function

evenChunksSource

Arguments

:: [a]

List to split

-> Int

Number of chuncks (n)

-> [[a]]

Exactly n even chunks of the initial list

Well-known missed in Data.List.Split function.