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