Re: [RFC] Disjunctive Normal Form Types
| From: | Sara Golemon | Date: | Mon, 21 Mar 2022 17:00:28 +0000 |
| Subject: | Re: [RFC] Disjunctive Normal Form Types | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-117392@lists.php.net to get a copy of this message | ||
On Sat, Mar 19, 2022 at 12:15 PM Anton Smirnov <sandfox@sandfox.me> wrote:
> 1. I think that syntax would be cleaner without the parentheses
>
>
No. https://c.tenor.com/zM15ZrNYp0QAAAAM/no-michael-scott.gif
Grouping is never cleaner without parenthesis than it is with them.
The actual proposal? Yes. DNF types as the next step in complex type
expressions.
-Sara