I'm not sure why F# seems to allow the definition of a class without any constructors. I mean, it would be impossible to instantiate an object of the class. Shouldn't the language spec treat this as illegal behavior?
For example, I can define the class
type myClass =
class
member this.x = 0
end
myClass
seems to have the type
type myClass =
member x: int
But it would not be instantiable.