Library proposal: Add System.Info.isWindows

Aaron Denney wnoise at ofb.net
Wed Aug 15 19:44:51 EDT 2007


On 2007-08-15, Isaac Dupree <isaacdupree at charter.net> wrote:
> Aaron Denney wrote:
>>> None of the existing OSes get subtypes... what if "Other" is also 
>>> standalone, not having a String argument (and whenever someone wants to 
>>> detect some other OS, I guess they petition to have the enumeration 
>>> expanded and it will be promptly) - how is that on the problem scale??
>> 
>> It looks like a problem to me.  If nothing else, as it expands, old
>> packages get nasty warnings about incomplete pattern matches on old
>> systems, and still don't work on new systems, as the package doesn't
>> know how to handle this case. 
>
> One should never have a case for "Other" anyway. Either

Right.  I meant adding OSes as they appear doesn't work well,
not the case of Other having a string argument.

-- 
Aaron Denney
-><-



More information about the Libraries mailing list