diff --git a/src/kiss/List.hx b/src/kiss/List.hx index a90f1da4..fbd50d6f 100644 --- a/src/kiss/List.hx +++ b/src/kiss/List.hx @@ -36,17 +36,17 @@ abstract List(Array) from Array to Array { return v; } - function insert(idx:Int, v:T) { + public function insert(idx:Int, v:T) { this.insert(realIndex(idx), v); } - function slice(start:Int, ?end:Int) { + public function slice(start:Int, ?end:Int) { if (end == null) end = this.length; return this.slice(realIndex(start), realIndex(end)); } - function splice(start:Int, len:Int) { + public function splice(start:Int, len:Int) { return this.splice(realIndex(start), len); } }