summary refs log tree commit diff stats
path: root/lib/pure/options.nim
Commit message (Collapse)AuthorAgeFilesLines
* Consider proc as a pointer type in options (#13460)hlaaftana2020-02-211-3/+12
| | | | | | | | * Consider proc as a pointer type in options * Add version annotation for SomePointer having proc in options * Log procs as pointers for options in changelog
* [backport] run nimpretty on the remaining filesnarimiran2019-09-301-2/+3
|
* Prevent options from calling custom ref == operators (#10745)Yuriy Glukhov2019-02-261-3/+18
|
* better docs: options (#10720)Miran2019-02-221-54/+226
|
* Make options.UnpackError inherit from system.DefectOscar Nihlgård2018-12-081-19/+15
|
* fixes #8658; addQuoted on Option[T] (#8659)Arne Döring2018-08-171-3/+5
|
* Adds get for Option[T]. (#8462)Dominik Picheta2018-08-141-1/+8
|
* Fixed $ on None[T] for T with .name (#8293)Quelklef2018-07-121-1/+15
|
* options: use isSome (#7782)alaviss2018-05-061-4/+4
| | | Fixes #7780
* Add none[T]() as alias to none(T) (#7512)hlaaf2018-04-161-0/+8
| | | | | | | | * Add none[T]() as alias to none(T) * Add tests for none[T] * this test shouldn't work anyway
* option optimization (#6253)Arne Döring2018-04-111-15/+49
|
* Fix documentation for the `$` proc on an option (#6449)Euan T2017-10-021-1/+4
|
* Add flatMap operator to Options (#6404)Zach Smith2017-09-271-24/+57
| | | | | | | | | | | | * Add >>= operator to Options * options.bind callback signature: A -> Option[B] * Use `flatMap` as the name of the Option bind operation. * Rename Options test "bind" to "flatMap" * CR from @dom96: Remove spaces inside of check() call
* Fix options module to use new import namedef2015-11-231-2/+2
|
* Extend option functionalityNycto2015-09-231-1/+63
|
* Rename optionals module to optionsFlaviu Tamas2015-05-261-0/+160