mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 11:42:33 +00:00
fix broken links in the documentation
This commit is contained in:
@@ -45,27 +45,27 @@ Proc Usage
|
||||
Seqs
|
||||
----
|
||||
|
||||
=========================================== ==========================================
|
||||
Proc Usage
|
||||
=========================================== ==========================================
|
||||
`newSeq<#newSeq>`_ Create a new sequence of a given length
|
||||
`newSeqOfCap<#newSeqOfCap,Natural>`_ Create a new sequence with zero length
|
||||
and a given capacity
|
||||
`setLen<#setLen,seq[T][T],Natural>`_ Set the length of a sequence
|
||||
`len<#len,seq[T][T]>`_ Return the length of a sequence
|
||||
`@<#@,array[IDX,T]>`_ Turn an array into a sequence
|
||||
`add<#add,seq[T][T],T>`_ Add an item to the sequence
|
||||
`insert<#insert,seq[T][T],T>`_ Insert an item at a specific position
|
||||
`delete<#delete,seq[T][T],Natural>`_ Delete an item while preserving the
|
||||
order of elements (`O(n)` operation)
|
||||
`del<#del,seq[T][T],Natural>`_ `O(1)` removal, doesn't preserve the order
|
||||
`pop<#pop,seq[T][T]>`_ Remove and return last item of a sequence
|
||||
`x & y<#&,seq[T][T],seq[T][T]>`_ Concatenate two sequences
|
||||
`x[a..b]<#[],openArray[T],HSlice[U,V]>`_ Slice of a sequence (both ends included)
|
||||
`x[a..^b]<#[],openArray[T],HSlice[U,V]>`_ Slice of a sequence but `b` is a
|
||||
reversed index (both ends included)
|
||||
`x[a..\<b]<#[],openArray[T],HSlice[U,V]>`_ Slice of a sequence (excluded upper bound)
|
||||
=========================================== ==========================================
|
||||
============================================== ==========================================
|
||||
Proc Usage
|
||||
============================================== ==========================================
|
||||
`newSeq<#newSeq>`_ Create a new sequence of a given length
|
||||
`newSeqOfCap<#newSeqOfCap,Natural>`_ Create a new sequence with zero length
|
||||
and a given capacity
|
||||
`setLen<#setLen,seq[T],Natural>`_ Set the length of a sequence
|
||||
`len<#len,seq[T]>`_ Return the length of a sequence
|
||||
`@<#@>`_ Turn an array into a sequence
|
||||
`add<#add,seq[T],>`_ Add an item to the sequence
|
||||
`insert<#insert,seq[T],>`_ Insert an item at a specific position
|
||||
`delete<#delete,seq[T],Natural>`_ Delete an item while preserving the
|
||||
order of elements (`O(n)` operation)
|
||||
`del<#del,seq[T],Natural>`_ `O(1)` removal, doesn't preserve the order
|
||||
`pop<#pop,seq[T]>`_ Remove and return last item of a sequence
|
||||
`x & y<#&,seq[T],seq[T]>`_ Concatenate two sequences
|
||||
`x[a .. b]<#[],openArray[T],HSlice[U,V]>`_ Slice of a sequence (both ends included)
|
||||
`x[a .. ^b]<#[],openArray[T],HSlice[U,V]>`_ Slice of a sequence but `b` is a
|
||||
reversed index (both ends included)
|
||||
`x[a ..\< b]<#[],openArray[T],HSlice[U,V]>`_ Slice of a sequence (excluded upper bound)
|
||||
============================================== ==========================================
|
||||
|
||||
**See also:**
|
||||
* `sequtils module <sequtils.html>`_ for operations on container
|
||||
|
||||
Reference in New Issue
Block a user