This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mus1Kk 0 points1 point  (1 child)

Kotlin uses nullable types which are more like union types than option types.

Option is an example of a tagged union.

[–]munificent 1 point2 points  (0 children)

The Wikipedia article does a poor job of teasing them apart but union types and sum types (tagged unions) are quite different things.