ArrayT

An F# module and extensions libary for Array<'T>. Works in Fable too.


Keywords
array, fable, fable-all, fable-library, fsharp
License
MIT
Install
Install-Package ArrayT -Version 0.20.0

Documentation

ArrayT

ArrayT on nuget.org ArrayT on fuget.org code size license

ArrayT is an F# extension and module library for Array<'T>

It also works with Fable.

Logo

It Includes:

  • A Array module that has a additional functions to the Array module from FSharp.Core.
  • Extension members on Array like .Get .Set .First .Last .SecondLast and more. With nicer IndexOutOfRangeExceptions that include the bad index and the actual size.

Usage

Just open the namespace

open ArrayT

this namespace contains:

  • a module also called Array
  • this will also auto open the extension members on Array<'T>

License

MIT

Test

All Tests run in both javascript and dotnet. go to the tests folder

cd Tests

For testing with .NET using Expecto run

dotnet run

for testing with Fable.Mocha run

npm test

Changelog

0.20.0

  • add filteri

0.19.0

  • copy from ResizeArray library 0.19.0