As per the quote below, is Boolean still on the agenda? I accept that it may
not be very useful, but it’s at least a little bit useful, and it just seems so
strange not to have it!
I’d also (primarily?) like a function Boolean(x) -> true or false.
Is there any special reason why TrueClass and FalseClass are direct
subclasses of Object? I stumbled across this (IMHO problem) when I
- introduce Boolean class; super of TrueClass, FalseClass
But I’m not sure how useful it is in the dynamic typed language like
Ruby where everything except
false' andnil’ is considered as true.
The instance of TrueClass - `true’ - is merely a representative value
Gavin Sinclair Software Engineer
Sydney, Australia Soyabean Software Pty Ltd