Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by WalterBright

3 months ago

Doing a sumtype is on the agenda and we'll get to it.

BTW, D has always had quite an advanced pattern matcher for types.

https://dlang.org/spec/expression.html#is_expression

https://dlang.org/spec/template.html#template_type_parameter...

0 comments

WalterBright

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities