Array.mapi<'T,'U> Function (F#)
Visual Studio 2012
Builds a new array whose elements are the results of applying the given function to each of the elements of the array. The integer index passed to the function indicates the index of element being transformed.
Namespace/Module Path: Microsoft.FSharp.Collections.Array
Assembly: FSharp.Core (in FSharp.Core.dll)
// Signature: Array.mapi : (int -> 'T -> 'U) -> 'T [] -> 'U [] // Usage: Array.mapi mapping array