not exactly.. everytime you want to use a union type as a value - you have to unpack it first. A discriminated union type is basically like a box... you can't used the box as a value, because you don't know what's in there, so you check its contents first
Обсуждают сегодня