On Monday, 20 August 2018 at 19:52:53 UTC, jmh530 wrote:
On Monday, 20 August 2018 at 19:06:36 UTC, Seb wrote:
[snip]
That looks pretty cool!
I added optional to run.dlang.io (e.g.
https://run.dlang.io/is/912kVG) and the project tester
(https://github.com/dlang/ci/pull/288).
It's interesting that both sumtype and optional have match
templates. Maybe scope to combine these projects?
That'd be cool. Optional uses .match on a "some" or "none" range,
while SumType uses it on a union. So ideas on how to go about it?