Add std/setutils to lib.rst (#16791)

* Add std/setutils to lib.rst

Improve doc comments for setutils

* Adhere to the RST spec

Use no UFCS in toSet
This commit is contained in:
konsumlamm 2021-01-22 13:13:18 +01:00 • committed by GitHub
commit 72bbd07ec1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 14 deletions

View file

@ -86,9 +86,11 @@ Algorithms
This module implements some common generic algorithms like sort or binary search.
* `sequtils <sequtils.html>`_
This module implements operations for the built-in seq type
This module implements operations for the built-in ``seq`` type
which were inspired by functional programming languages.
* `std/setutils <setutils.html>`_
This module adds functionality for the built-in ``set`` type.
Collections
@ -115,7 +117,7 @@ Collections
* `options <options.html>`_
The option type encapsulates an optional value.
* `packedsets <packedsets.html>`_
* `std/packedsets <packedsets.html>`_
Efficient implementation of a set of ordinals as a sparse bit set.
* `sets <sets.html>`_
@ -131,7 +133,6 @@ Collections
Nim hash table support. Contains tables, ordered tables, and count tables.
String handling
---------------
@ -196,7 +197,7 @@ Time handling
-------------
* `std/monotimes <monotimes.html>`_
The `monotimes` module implements monotonic timestamps.
The ``monotimes`` module implements monotonic timestamps.
* `times <times.html>`_
The ``times`` module contains support for working with time.
@ -234,8 +235,8 @@ Generic Operating System Services
* `streams <streams.html>`_
This module provides a stream interface and two implementations thereof:
the `FileStream` and the `StringStream` which implement the stream
interface for Nim file objects (`File`) and strings. Other modules
the ``FileStream`` and the ``StringStream`` which implement the stream
interface for Nim file objects (``File``) and strings. Other modules
may provide other implementations for this standard stream interface.
* `terminal <terminal.html>`_
@ -296,7 +297,7 @@ Internet Protocols and Support
module.
* `asyncstreams <asyncstreams.html>`_
This module provides `FutureStream` - a future that acts as a queue.
This module provides ``FutureStream`` - a future that acts as a queue.
* `cgi <cgi.html>`_
This module implements helpers for CGI applications.
@ -411,7 +412,6 @@ Generators
that generates a string with its HTML representation.
Hashing
-------
@ -435,7 +435,6 @@ Hashing
This module implements a sha1 encoder and decoder.
Miscellaneous
-------------
@ -536,6 +535,7 @@ UNIX specific
* `posix_utils <posix_utils.html>`_
Contains helpers for the POSIX standard or specialized for Linux and BSDs.
Regular expressions
-------------------