Search

May 07, 2022
Learn »
Worth noting that you *can* write

```d
alias foo = partial!(foo, a);
```

...which will add...
May 07, 2022
Learn »
...alias foo2 = foo!a;
```

The downside is that you wouldn't be able to `alias...
May 07, 2022
Genel »
...writefln!"[... %(%.12f, %)]: %s"(r.length);
}

void main() {
  alias testType = float; // real & double test-ok

  testType...
May 07, 2022
Learn »
...std.functional: partial;

enum int a = 1;
alias foo2 = partial!(foo, a);
```

Or, if `a...
May 07, 2022
Genel »
...daha güvenilir bir hale getirmiş olabiliriz:


```d
alias ir = inclusiveRange;
auto inclusiveRange(T = int)(T...
May 06, 2022
Learn »
...alias arr)
if(isStaticArray!(typeof(arr))){
    auto get(size_t I)(){
        return arr[I];
    }

    alias...
May 06, 2022
Learn »
...write a forwarding function?
```d
void ff(alias g,int...I)(int[2]k){
    g...
May 05, 2022
Learn »
Some code I have:

```d
alias Operator = dstring function(dstring input);

//List of all operations...
May 04, 2022
Learn »
...T* payload;
		ref T get() { return *payload; }
		alias get this;
		~this() {
			import core.memory : GC...
May 04, 2022
Issues »
...v2.100.0-rc.1+:

```
extern(System):

alias F = void function(int);
F f;
```

Output...
221 222 223 224 225 226 227 228 229 230 231
Next ›   Last »