Thread overview
Phobos differences?
Oct 23, 2015
Alex Parrill
Oct 23, 2015
H. S. Teoh
Oct 23, 2015
Iain Buclaw
Oct 23, 2015
Vladimir Panteleev
Nov 11, 2015
Wiktor Żurawik
October 23, 2015
I've noticed that GDC's version of Phobos is missing some features from DMD's. Is there a place to report this, and is it possible to, in the meantime, use DMD's Phobos?

Here's some of the things I've noticed in particular:

* std.algorithm is not split up
* std.algorithm.comparison.predSwitch is missing
* The version of enforce that takes an exception as a template argument is missing (ex. `enforce!MyException(condition, "message")`)
October 23, 2015
On Fri, Oct 23, 2015 at 03:27:30PM +0000, Alex Parrill via D.gnu wrote:
> I've noticed that GDC's version of Phobos is missing some features from DMD's. Is there a place to report this, and is it possible to, in the meantime, use DMD's Phobos?
> 
> Here's some of the things I've noticed in particular:
> 
> * std.algorithm is not split up
> * std.algorithm.comparison.predSwitch is missing
> * The version of enforce that takes an exception as a template
> argument is missing (ex. `enforce!MyException(condition, "message")`)

Which version of GDC are you using? It may be using an older version of Phobos.


T

-- 
"Real programmers can write assembly code in any language. :-)" -- Larry Wall
October 23, 2015
On 23 Oct 2015 5:30 pm, "Alex Parrill via D.gnu" <d.gnu@puremagic.com> wrote:
>
> I've noticed that GDC's version of Phobos is missing some features from
DMD's. Is there a place to report this, and is it possible to, in the meantime, use DMD's Phobos?
>
> Here's some of the things I've noticed in particular:
>
> * std.algorithm is not split up
> * std.algorithm.comparison.predSwitch is missing
> * The version of enforce that takes an exception as a template argument
is missing (ex. `enforce!MyException(condition, "message")`)

It's phobos as seen in 2.066.  There should really be older versions of documentation on the dlang site for people to reference.


October 23, 2015
On Friday, 23 October 2015 at 18:30:55 UTC, Iain Buclaw wrote:
> It's phobos as seen in 2.066.  There should really be older versions of documentation on the dlang site for people to reference.

Does GDC not include the HTML Phobos documentation (as does DMD)?
November 11, 2015
On Friday, 23 October 2015 at 18:30:55 UTC, Iain Buclaw wrote:
> It's phobos as seen in 2.066.  There should really be older versions of documentation on the dlang site for people to reference.

I was about to post regarding some discrepancies in GDC's std.algorithm module. For example, the each template is also missing.

So, it may be tricky for someone to jump right into GDC without knowing about those differences. Some kind of reference of this would certainly be handy.