yarr-1.3.3.3: Yet another array library

Safe HaskellNone
LanguageHaskell98

Data.Yarr.Utils.Split

Synopsis

Documentation

makeSplitIndex Source

Arguments

:: Int

Number of chunks to split range on (n)

-> Int

Start of range

-> Int

End of range

-> Int -> Int

Split index function

evenChunks Source

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.