[GHC] #2614: Enumeration of values for `Sys.Info.os`,
`Sys.Info.arch`
GHC
trac at galois.com
Sat Sep 20 04:39:58 EDT 2008
#2614: Enumeration of values for `Sys.Info.os`, `Sys.Info.arch`
--------------------------------+-------------------------------------------
Reporter: jsnx | Owner:
Type: feature request | Status: new
Priority: normal | Component: libraries/base
Version: 6.8.3 | Severity: minor
Keywords: | Testcase:
Architecture: Unknown | Os: Multiple
--------------------------------+-------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2614>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list