public static FuncyListTC <T> Take <T>(this FuncyListTC <T> source, int count) { if (source.IsNil) { return(FuncyListTC.Nil <T>()); } return(FuncyListTC.Construct(((IEnumerable <T>)source).Take <T>(count).ToArray())); }
public static FuncyListTC <T> ToFuncyList <T>(this NonEmptyListTC <T> self) { return(FuncyListTC.Construct <T>(self.ToArray())); }