No description
Find a file
Timothee Cour afd76544ea fixup
2021-03-02 08:57:17 +01:00
src Fixed styling error caused by a happy delete key 2021-02-12 12:58:23 +01:00
tests fixup 2021-03-02 08:57:17 +01:00
.gitignore add gitignore 2021-03-02 08:57:17 +01:00
optionsutils.nimble Moved to 1.3.0 2021-02-12 10:37:28 +01:00
README.md Version v1.2.0 2020-08-27 10:29:58 +02:00

optionsutils

This module implements conveniences for dealing with the Option type in Nim. It is based on superfuncs maybe library and Toccatas novel boolean approach but also implements features found elsewhere.

The goal of this library is to make options in Nim easier and safer to work with by creating good patterns for option handling. It consists of two files: optionsutils which implements all the features, along with safeoptions which exists to provide a safe way to use options. It gives you all the functionality of the options and optionsutils modules, but will leave out get and unsafeGet so that only the safe patterns from optionsutils will be available for use.

To see what optionsutils offers, see the documentation.