stc.experimental.ndslice -> sci.ndslice

Ilya Yaroshenko via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 17 02:44:30 PDT 2016


On Sunday, 17 April 2016 at 09:32:25 UTC, QAston wrote:
> On Sunday, 17 April 2016 at 09:09:52 UTC, Ilya Yaroshenko wrote:
>>
>> Just with std.sci.* without `experimental`. Otherwise this 
>> would be the same problem.
>
> What's wrong with std.experimental.sci.*? experimental is where 
> experimental modules/packages should go.

This would be a real pain for a user if he supports few compiler 
versions.


static if(__VERSION__ < 2072)
{
	import std.experimental.sci.ndslice;
}
else
{
	import std.sci.ndslice;
}

static if(__VERSION__ < 2074)
{
	import std.experimental.sci.fft;
}
else
{
	import std.sci.fft;
}


static if(__VERSION__ < 2075)
{
	import std.experimental.sci.blas;
}
else
{
	import std.sci.blas;
}

static if(__VERSION__ < 2076)
{
	import std.experimental.sci.lapack;
}
else
{
	import std.sci.lapack;
}



More information about the Digitalmars-d mailing list