Wouldn't it be nice if:
- Enums had first-class support for key paths.
- Bool were simply
enum Bool { case true, false }
That's all you'd need for \.view.isEnabled.isFalse
to be derived automatically ;)
Wouldn't it be nice if:
enum Bool { case true, false }
That's all you'd need for \.view.isEnabled.isFalse
to be derived automatically ;)