On 7 October 2016 at 11:42, Manu <turkey...@gmail.com> wrote: > On 7 October 2016 at 03:03, Ilya Yaroshenko via Digitalmars-d > <digitalmars-d@puremagic.com> wrote: >> On Thursday, 6 October 2016 at 14:53:52 UTC, Manu wrote: >>> >>> I've done another pass incorporating prior feedback, mostly focusing on >>> documentation. >>> >>> >>> http://dtest.thecybershadow.net/artifact/website-b6e2e44dd40dd7c70eb45829c02060b99ae3937b-57272ccdf902fa3f0c050d522129f2be/web/library-prerelease/std/experimental/color.html >>> >>> Can interested parties please give it another once-over and add >>> further comments? >>> How can I get this to a point where people would like to see it in phobos? >>> >>> Repo: https://github.com/TurkeyMan/color >>> PR: https://github.com/dlang/phobos/pull/2845 >> >> >> Could you please make `colorFromString` nothrow @nogc? Or make `nothrow >> @nogc` analog. -- Ilya > > I think throwing is the precedented action in that failure case... > what would you suggest? > I could have an overload that returns an error or something...?
Problem with overloading is that the function type only differs by return type... is there a phobos convention for function naming where a parallel nothrow @nogc version is also supplied?