#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
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to