A couple of extensions to `with` that would be worthwhile
max haughton
maxhaton at gmail.com
Wed Oct 13 17:32:21 UTC 2021
On Wednesday, 13 October 2021 at 11:13:32 UTC, Andrei
Alexandrescu wrote:
> We have an awkward idiom in the dmd source code:
>
> https://github.com/dlang/dmd/search?q=extendedPathThen
> https://github.com/dlang/dmd/search?q=toWStringzThen
>
> [...]
We could also have a trailing with to allow Haskell style blah
where blah = xyz code.
More information about the Digitalmars-d
mailing list