Merge branch 'devel' of github.com:TheAnonymous/Nim into devel
This commit is contained in:
commit
709c4f7229
1 changed files with 2 additions and 0 deletions
|
|
@ -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.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue