diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-02-05 21:13:18 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-02-05 21:13:18 +0100 |
commit | fc52dd646385b5b1ca5dc7c451c124a863047b14 (patch) | |
tree | 6ca0311e8f43e9d8846d27e0fdd183f10146b2de | |
parent | 49ad131fe23a69bcbc3da68fba0b9c4a1df864b8 (diff) | |
download | Nim-fc52dd646385b5b1ca5dc7c451c124a863047b14.tar.gz |
Tut 1: tiny improvements
-rw-r--r-- | doc/sets_fragment.txt | 2 | ||||
-rw-r--r-- | doc/tut1.rst | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/sets_fragment.txt b/doc/sets_fragment.txt index 435807e1a..5c341b7c8 100644 --- a/doc/sets_fragment.txt +++ b/doc/sets_fragment.txt @@ -1,9 +1,11 @@ The set type models the mathematical notion of a set. The set's basetype can only be an ordinal type of a certain size, namely: + * ``int8``-``int16`` * ``uint8``/``byte``-``uint16`` * ``char`` * ``enum`` + or equivalent. The reason is that sets are implemented as high performance bit vectors. Attempting to declare a set with a larger type will result in an error: diff --git a/doc/tut1.rst b/doc/tut1.rst index f935e7935..cbfef183e 100644 --- a/doc/tut1.rst +++ b/doc/tut1.rst @@ -1032,7 +1032,7 @@ procs for these conversions. Type Conversion --------------- -Conversion between basic types is performed by using the +Conversion between numerical types is performed by using the type as a function: .. code-block:: nim |