public ElaVariant Get(int index, ElaArray arr) { if (index < 0 || index >= arr.Length) return ElaVariant.None(); return ElaVariant.Some(arr.FastGet(index)); }
public bool RemoveAt(int index, ElaArray arr) { return arr.Remove(index); }
public bool Insert(int index, ElaValue value, ElaArray arr) { return arr.Insert(index, value); }
public ElaUnit Clear(ElaArray arr) { arr.Clear(); return ElaUnit.Instance; }
public ElaUnit Add(ElaValue value, ElaArray arr) { //arr.Add(value); return ElaUnit.Instance; }