document the new type[T] and static[T] features

This commit is contained in:
Zahary Karadjov 2018-04-23 22:30:23 +03:00
commit ea36e0ebbe
4 changed files with 104 additions and 71 deletions

View file

@ -303,9 +303,9 @@ symbols in the `system module <system.html>`_.
`#len,seq[T] <system.html#len,seq[T]>`_
* ``iterator pairs[T](a: seq[T]): tuple[key: int, val: T] {.inline.}`` **=>**
`#pairs.i,seq[T] <system.html#pairs.i,seq[T]>`_
* ``template newException[](exceptn: typedesc; message: string): expr`` **=>**
`#newException.t,typedesc,string
<system.html#newException.t,typedesc,string>`_
* ``template newException[](exceptn: type; message: string): expr`` **=>**
`#newException.t,type,string
<system.html#newException.t,type,string>`_
Index (idx) file format