Preferences

Yes the expression may not be precise enough, but the example should be accurate enough.

1, https://github.com/sdzx-1/polystate?tab=readme-ov-file#2-imp...

This shows what composition means, and even complex nested selects are described quite precisely by type.

2, https://github.com/sdzx-1/polystate?tab=readme-ov-file#1-com...

Yes, this effect can be achieved without using composite types. But if it is convenient and easy to achieve this effect through composite types, is it worth it?