Enumeration of values for `Sys.Info.os`, `Sys.Info.arch`
It is desirable to have an enumeration of values that might end up in Sys.Info.os
and Sys.Info.arch
. Only after much reading of Cabal files and such have I learnt that the former includes (at least) linux
, darwin
, windows
and freebsd
. (And not, for example, win32
.)
This is only a minor annoyance and I will likely never need to bother with it again -- though I guess I'm still not sure what Solaris is called -- probably solaris
-- I've got the pattern now, but it would have been much better to see a list.
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.3 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/base |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Multiple |
Architecture | Unknown |