On 12/11/2015 05:41 PM, Enjoys Math wrote:
> import std.stdio;
> import std.typecons;
>
> int main(string[] argv)
> {
> auto value = Tuple(5, 6.7, "hello");
I don't understand how it relates to the error message but you should
use lowercase 'tuple' there:
auto value = tuple(5, 6.7,
import std.stdio;
import std.typecons;
int main(string[] argv)
{
auto value = Tuple(5, 6.7, "hello");
assert(value[0] == 5);
assert(value[1] == 6.7);
assert(value[2] == "hello");
writeln("Hello D-World!");
return 0;
}
// Standard example copied from the