3 ms·
> Value types in structures would need to be nominal The reasoning behind wanting this is good. It can however be satisfied differently. I find structural typi
by karmakaze 7y ago
> Value types in structures would need to be nominal
The reasoning behind wanting this is good. It can however be satisfied differently. I find structural typing to be more convenient where I have the ability to define a type for another that is not considered to be equivalent. A good example is how an int can be defined into different types with conversions in Go.
If we were to follow through with nominal typing we would need transforms to rename the same structures when working through abstractions that make sense having different names.