var list = new List<char> { 'a', 'b', 'c' }; FunVec1<char> vec = new(list); Assert(vec.Length1 == 3); Assert(vec[2] == 'c'); Assert(vec.Get(0) == Some('a')); Assert(vec.Get(3).IsNone);
public static implicit operator FunVec1<T> ( List<T> list )
In This Article