[Issue 9086] std.typecons.appendIfNotNull() or a better idea

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Mar 15 21:30:45 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=9086

Ender KaShae <astrothayne at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |astrothayne at gmail.com

--- Comment #3 from Ender KaShae <astrothayne at gmail.com> ---
One way to deal with this could be to add an Option/Maybe type, or define a
function get a range from a Nullable (or add some sort map and flatmap
functions) (see http://forum.dlang.org/thread/l87ivq$263r$1@digitalmars.com).

--


More information about the Digitalmars-d-bugs mailing list