Update system.nim
This commit is contained in:
parent
d7656ceec7
commit
b9d00c8693
1 changed files with 2 additions and 0 deletions
|
|
@ -673,6 +673,8 @@ proc len*[T](x: seq[T]): int {.magic: "LengthSeq", noSideEffect.}
|
|||
## .. code-block:: nim
|
||||
## var arr = [1,1,1,1,1]
|
||||
## len(arr) #=> 5
|
||||
## for i in 0..<arr.len:
|
||||
## echo arr[i] #=> 1,1,1,1,1
|
||||
|
||||
# set routines:
|
||||
proc incl*[T](x: var set[T], y: T) {.magic: "Incl", noSideEffect.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue