mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-27 21:35:10 +00:00
Merge branch 'devel' of github.com:TheAnonymous/Nim into devel
This commit is contained in:
@@ -687,6 +687,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.}
|
||||
|
||||
Reference in New Issue
Block a user