April 29, 2022 Learn » Re: T... args! | |||
|---|---|---|---|
| |||
...a tuple of strings? That isn't supported. What you instead created was a tuple... | |||
April 26, 2022 General » Re: Any potential infrastructure related projects or experiments? | |||
|---|---|---|---|
| |||
...things. std.typecons.Tuple does an OK job of it (just return `Tuple!(int, string... | |||
April 22, 2022 Learn » Re: Understanding alias template parameters | |||
|---|---|---|---|
| |||
...MR = MapResult!(typeof(range), func);
MR[] mr;
tuple(fun1, fun2, fun3, fun4, fun5)
.each!(f... | |||
April 20, 2022 Learn » Re: Lambda Tuple with Map Reduce | |||
|---|---|---|---|
| |||
I think technically you should have save after range in that loop. | |||
April 20, 2022 Learn » Re: Lambda Tuple with Map Reduce | |||
|---|---|---|---|
| |||
With the original version, I'm getting expected results with 2.098.1. run.dlang... | |||
April 20, 2022 Learn » Re: Lambda Tuple with Map Reduce | |||
|---|---|---|---|
| |||
It's my fault, here is the solution:
```d
foreach(fun; funs)
{
range.map!(a... | |||
April 20, 2022 Learn » Lambda Tuple with Map Reduce | |||
|---|---|---|---|
| |||
...a / 2; import std.typecons; auto funs = tuple(fun1, fun2, fun3, fun4, fun5); import std... | |||
April 20, 2022 General » Re: idea: static scope(failure) | |||
|---|---|---|---|
| |||
...static assert(0, "I couldn't set tuple[" ~ idx.stringof ~ "] equal to \"string\"");
}
}
```
works with... | |||
April 07, 2022 Issues » [Issue 22996] New: [ICE] Parsing at CTFE crash the compiler | |||
|---|---|---|---|
| |||
...enum TEXT = import("shape-L8.txt");
enum Tuple!(double, Complex!double)[] DATA =
mixin(TEXT.transformLTSpiceToCode... | |||
April 04, 2022 Genel » Re: Rust&D Meydan Okuması | |||
|---|---|---|---|
| |||
...nin slide()'ının karşılığı olan Rust'ın tuple_window() işlevi, işlemlerin sonuçlarını once() denen bir... | |||
Copyright © 1999-2021 by the D Language Foundation