fixes #8797
This commit is contained in:
parent
cfbf9dcc59
commit
077f24ab2d
1 changed files with 2 additions and 2 deletions
|
|
@ -504,7 +504,7 @@ following characters::
|
||||||
These keywords are also operators:
|
These keywords are also operators:
|
||||||
``and or not xor shl shr div mod in notin is isnot of``.
|
``and or not xor shl shr div mod in notin is isnot of``.
|
||||||
|
|
||||||
`=`:tok:, `:`:tok:, `::`:tok: are not available as general operators; they
|
`.`:tok: `=`:tok:, `:`:tok:, `::`:tok: are not available as general operators; they
|
||||||
are used for other notational purposes.
|
are used for other notational purposes.
|
||||||
|
|
||||||
``*:`` is as a special case treated as the two tokens `*`:tok: and `:`:tok:
|
``*:`` is as a special case treated as the two tokens `*`:tok: and `:`:tok:
|
||||||
|
|
@ -4633,7 +4633,7 @@ type is an instance of it:
|
||||||
.. code-block:: nim
|
.. code-block:: nim
|
||||||
:test: "nim c $1"
|
:test: "nim c $1"
|
||||||
|
|
||||||
import future, typetraits
|
import sugar, typetraits
|
||||||
|
|
||||||
type
|
type
|
||||||
Functor[A] = concept f
|
Functor[A] = concept f
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue