While reading Expert F# 4.0, 4th ed. by Don Syme, Adam Granicz, Antonio Cisternino I realized it is about time to get rid of void
no-value, well, something.
It simply does not fit in any way, no matter what magic I would use — like creating object for ?Void
type, despite the fact it could have value as optional type, but it would mean no-value as Void
type.
Thus Void
is regular type as any other, void
is a single possible value of it. Even if it hurts performance (the least of my problems) it makes language more consistent.