|
|
|
|
|
by robalni
6 days ago
|
|
Interesting, I have had ideas about having that feature in a language: being able to make subtypes, like "this is an integer but on the next level it is a shoe size".
Can you give an example of such a language or how they usually do that? |
|
`type Shoe_Size is new Integer` defines a type incompatible with `type Age is new Integer`