2 using SCG
= System
.Collections
.Generic
;
4 public delegate S Fun
<R
,S
> (R r
);
6 public interface IIndexedSorted
<T
>
8 IIndexedSorted
<V
> Map
<V
> (Fun
<T
,V
> mapper
);
11 public class GuardedIndexedSorted
<T
> : IIndexedSorted
<T
>
13 IIndexedSorted
<T
> indexedsorted
;
15 public IIndexedSorted
<V
> Map
<V
> (Fun
<T
,V
> m
)
17 return indexedsorted
.Map (m
);