summary refs log tree commit diff stats
path: root/lib/pure/options.nim
Commit message (Collapse)AuthorAgeFilesLines
* 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