Paul Backus
Paul Backus
The example compiles successfully if you replace `std.typecons.Tuple` with the following simplified version: ```d struct Tuple(Types...) { Types expand; } ``` (run.dlang.io link: https://run.dlang.io/is/avNK7w) So, something in the implementation of...
If this is merged, we'll need a spec PR to update this section: https://dlang.org/spec/struct.html#implicit-copy-constructors
@rikkimax I think this safety issue can be solved by adding a template constraint or `static assert` to `makeSafeGlobal` which ensures that `StdFileHandle _iob` is one of `StdFileHandle.stdin`, `StdFileHandle.stdout`, or...
The only recent change to `std.sumtype` is https://github.com/dlang/phobos/pull/8933
* Why does this PR contain both unit tests and functional changes, when the title and description only mention unit tests? * Why does this PR contain changes to both...
Note that this only happens when the inner `Nullable` is empty. For example, the following test passes: ```d Nullable!int ni = 123; assertNullableXIsEqualToX(ni); // OK ```
I am open to both PRs and feature requests. If this is intended to be a feature request, it would be helpful if you could describe the specific feature(s) you...
I'm afraid I can't make heads or tails of these examples.
Ok, I see. It sounds like `tee` is sort of a combination of `match`, `filter`, and `map`—it filters out the `SumType` values that match the handler(s) passed to it, and...
My understanding is that the "formatted" part of `formattedWrite` refers to the format string. If it's using interpolation, it's not really a "formatted" write, is it?