I think this is called a negation type, and it acts like a logical NOT operator. I'd like it too, and I hear that it works well with union types (logical OR) and intersection types (logical AND) for specifying types precisely in a readable way.
104 karma · joined September 4, 2022
I think this is called a negation type, and it acts like a logical NOT operator. I'd like it too, and I hear that it works well with union types (logical OR) and intersection types (logical AND) for specifying types precisely in a readable way.
is there a parser that says that it's Yaml 1.2 compliant that uses that regex? I don't know of one.
yaml 1.2 was released in 2009, and it fixed this problem. this is an implementation issue.
The pattern it made was also wrong, but I think the first issue is more interesting.
For this reason, I very much appreciate the dataclass decorator. I notice that I define classes more often since I started using it, so I'm sure that boilerplate is part of the issue.
I'm impressed that it's able to understand figurative combinations like this. On the other hand, some of them are confusing:
>Steampunk Pirate Queen + Romance = Steam And Sorcery
What? Is this a reference?