[Home] Module Microsoft.FSharp.Compatibility.CompatArray


Operations to manipulate .NET-compatible arrays, only really necessary use when using .NET 1.x.

Deprecated Values

ValueDescription
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val append : 'a [] -> 'a [] -> 'a []

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Build a new array that contains the elements of the first array followed by the elements of the second array
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val blit : 'a [] -> int -> 'a [] -> int -> int -> unit

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Read a range of elements from the first array and write them into the second.
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val concat : 'a [] list -> 'a []

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Build a new array that contains the elements of each of the given list of arrays
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val copy : 'a [] -> 'a []

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Build a new array that contains the elements of the given array
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val create : int -> 'a -> 'a []

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Create a new array of the given length, each entry of which holds the given element
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val fill : 'a [] -> int -> int -> 'a -> unit

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Fill a range of an array with the given element
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val fold_left : ('a -> 'b -> 'a) -> 'a -> 'b [] -> 'a

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Apply a function to each element of the collection, threading an 'accumulator' argument through the computation. If the elements are "i0...iN" then computes "f (... (f s i0)...) iN"
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val fold_right : ('a -> 'b -> 'b) -> 'a [] -> 'b -> 'b

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Compute f (get arr n) (...(f (get arr n) s))
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val get : 'a [] -> int -> 'a

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Fetch the given element of the array, indexed by 0
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val init : int -> (int -> 'a) -> 'a []

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Build a new array whose elements are f 0, ... f N
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val iter : ('a -> unit) -> 'a [] -> unit

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Execute the given function for each element of the given array
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val iteri : (int -> 'a -> unit) -> 'a [] -> unit

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Execute the given function for each element of the given array. The integer index indicates the index of the element.
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val length : 'a [] -> int

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

The length of the array
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val make : int -> 'a -> 'a []

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Build a new array of the given length, each entry of which holds the given element. Same as create.
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val map : ('a -> 'b) -> 'a [] -> 'b []

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Build a new array whose elements are the results of applying the given function to each of the elements of the array.
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val mapi : (int -> 'a -> 'b) -> 'a [] -> 'b []

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Build 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 funciton indicates the index of the element.
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val of_array : 'a array -> 'a []

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Build a .NET compatible array from the F# array. Note that F# arrays and .NET compatible arrays are only different types when using .NET 1.0 or 1.1
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val of_list : 'a list -> 'a []

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Convert the given list to a .NET compatible array suitable for passing to .NET functions
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val set : 'a [] -> int -> 'a -> unit

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Set the given element of the array
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val sub : 'a [] -> int -> int -> 'a []

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Build a new .NET compatible array that contains the given subrange specified by starting index and length
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val to_array : 'a [] -> 'a array

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Build an F# array from the given .NET compatible array. Note that F# arrays and .NET compatible arrays are only different types when using .NET 1.0 or 1.1
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val to_list : 'a [] -> 'a list

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Convert the given .NET compatible array to a list
[<Obsolete
  ("The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead")>]
val zero_create : int -> 'a []

Note: The Microsoft.FSharp.Comatibility.CompatArray module is now deprecated on .NET 2.0, and will be deleted in a later release of F#. Use the corresponding functions from the Array module instead

Create a new array filled with zero (null or default) values. Warning: Use of this function may result in subsequent exceptions if the elements of the array are accessed before initialized.

See Also

Microsoft.FSharp.Compatibility


Documentation for assembly FSharp.Core, version 1.9.4.19, generated using F# version 1.9.4.19