2 ms·
Yes, totally. The same in java and c# too. That's why I said void is "more or less like a type" and asked about "unit" as a "first class void" - i.e. a "void"
by SideburnsOfDoom 12y ago
Yes, totally. The same in java and c# too.
That's why I said void is "more or less like a type" and asked about "unit" as a "first class void" - i.e. a "void" that is a real type that works like other types.
- mercurial 12y agoWell, in Java you have http://docs.oracle.com/javase/7/docs/api/java/lang/Void.html http://docs.oracle.com/javase/7/docs/api/java/lang/Void.html Not exactly first-class but useful at times.