Sha256: ce05018af28773d7eff5a96d4625b9ef122410603d34944519b1a2cc5eb99822

Contents?: true

Size: 1.41 KB

Versions: 24

Compression:

Stored size: 1.41 KB

Contents

using System;
using System.Collections.Generic;
using System.Linq;

public static class ListOps
{
    public static int Length<T>(List<T> input)
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public static List<T> Reverse<T>(List<T> input)
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public static List<TOut> Map<TIn, TOut>(List<TIn> input, Func<TIn, TOut> map)
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public static List<T> Filter<T>(List<T> input, Func<T, bool> predicate)
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public static TOut Foldl<TIn, TOut>(List<TIn> input, TOut start, Func<TOut, TIn, TOut> func)
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public static TOut Foldr<TIn, TOut>(List<TIn> input, TOut start, Func<TIn, TOut, TOut> func)
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public static List<T> Concat<T>(List<List<T>> input)
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public static List<T> Append<T>(List<T> left, List<T> right)
    {
        throw new NotImplementedException("You need to implement this function.");
    }
}

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.179 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.178 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.177 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.176 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.175 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.174 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.173 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.172 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.171 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.170 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.169 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.167 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.166 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.165 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.164 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.163 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.162 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.161 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.160 tracks/csharp/exercises/list-ops/ListOps.cs