Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

26 lines
401 B
C#

using System;
using SCG = System.Collections.Generic;
public delegate S Fun<R,S> (R r);
public interface IIndexedSorted<T>
{
IIndexedSorted<V> Map<V> (Fun<T,V> mapper);
}
public class GuardedIndexedSorted<T> : IIndexedSorted<T>
{
IIndexedSorted<T> indexedsorted;
public IIndexedSorted<V> Map<V> (Fun<T,V> m)
{
return indexedsorted.Map (m);
}
}
class X
{
public static void Main ()
{ }
}