added system.@ for openarrays
This commit is contained in:
parent
b4084df434
commit
d2872748c2
3 changed files with 11 additions and 8 deletions
7
todo.txt
7
todo.txt
|
|
@ -90,13 +90,6 @@ Library
|
|||
|
||||
- pdcurses bindings
|
||||
|
||||
- for system:
|
||||
proc `@` [T](a: openArray[T]): seq[T] =
|
||||
newSeq(result, a.len)
|
||||
for i in 0..a.len-1: result[i] = a[i]
|
||||
|
||||
--> ensure @[] still calls the array version!
|
||||
|
||||
|
||||
Low priority
|
||||
------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue