Skip to content

sharpyr/Veho

Repository files navigation

DESIGN IMAGE

Veho

NuGet Member project of .NET Core Community GitHub license

Veho, a .NET Standard array and enumerable extension library.

Veho is an extension library for iterable including array, 2d-array and dictionary, designed based on functional programming paradigm. Veho is currently availabe on npm.js for node.js, nuget.org as .NET standard package, crates.io for rust and pypi.org for python 3.

SAMPLES

Please see the Project Veho.Test in the solution.

BASE USAGE

Base usage Codes

EXAMPLE USAGE: Zip two arrays

View complete Codes

namespace Veho.Test.Vector {
  [TestFixture]
  public class ZipperTest {
    [Test]
    public void DuoZipperTest() {
      var a = new[] {1, 2, 3, 4, 5};
      var b = new[] {2, 2, 0, 3, 3};
      Func<int, int, int> fn = (x, y) => x * y;
      var vec = fn.Zipper(a, b);
      Console.WriteLine(string.Join(", ", vec));
    }
  }
}