Search

October 11
DIP Ideas »
...in scala's pattern matching (which is pure gold). I'd really advise anyone to...
October 04
Issues »
...class C
    {
        int n;
        this(int n) pure @safe { this.n = n; }
    }

    const(C) obj...
October 04
DIP Development »
...custom array, for instance:

```D
// Currently:
@trusted pure nothrow @nogc opIndex(size_t index)
{   if...
October 01
General »
...ER be pre-approved ? It's a pure semantics change, plus for now it's...
September 27
DIP Ideas »
...to `const` inside a `pure` immediately invoked lambda, i.e. `(() pure => ExpressionwithConst)()` because accessing globals...
September 26
Learn »
```d
ubyte parseHex(immutable char ch) pure nothrow @safe @nogc {
	switch (ch) {
	case '0': .. case...
September 26
Learn »
...like

```d
uint parseHex(in char ch) pure nothrow @safe @nogc {
	switch (ch) {
	case '0...
September 25
General »
...dont access global state isnt like a pure function because most of it is pure.


September 22
General »
That would be pure coincidence because I have never seen the code for Ritchie's...
September 14
Issues »
...default storage
  classes. Only `nothrow`, `@nogc` and `pure` are supported for now.
  They can be...
1 2 3 4 5
Next ›   Last »