> Just wanted to quickly throw out that Kotlin's Unit class, their "equivalent" 
> of void, semantically follows the definition of "type with only one value" 
> laid out in the enum Void example above. 

`enum Void {}` is not a type with only one value; it's a type with no values.

-- 
Brent Royal-Gordon
Architechies

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to