Sha256: 5dc250e0dff3919ff142a70c8fb43d1ddb2ce70a427f1ab2631107536edb7d87

Contents?: true

Size: 1.41 KB

Versions: 257

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>(Func<TIn, TOut> map, List<TIn> input)
    {
        throw new NotImplementedException("You need to implement this function.");
    }

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

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

    public static TOut Foldr<TIn, TOut>(Func<TIn, TOut, TOut> func, TOut start, List<TIn> input)
    {
        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

257 entries across 257 versions & 1 rubygems

Version Path
trackler-2.2.1.155 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.154 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.153 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.152 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.151 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.150 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.149 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.148 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.147 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.146 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.145 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.144 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.143 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.142 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.141 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.140 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.139 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.138 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.137 tracks/csharp/exercises/list-ops/ListOps.cs
trackler-2.2.1.136 tracks/csharp/exercises/list-ops/ListOps.cs