←back to thread

71 points susam | 1 comments | | HN request time: 1.082s | source
1. deepsun ◴[] No.43688082[source]
>

    type
        apple = integer;
        orange = integer;
> then any arbitrary arithmetic expression involving apples and oranges is perfectly legal

Same in Kotlin sadly. The whole point of giving a different names to a type is to make them incompatible.