#2614: Enumeration of values for `Sys.Info.os`, `Sys.Info.arch`
---------------------------------+------------------------------------------
    Reporter:  jsnx              |        Owner:  mjg         
        Type:  feature request   |       Status:  new         
    Priority:  normal            |    Milestone:  7.0.1       
   Component:  libraries/base    |      Version:  6.8.3       
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:  Unknown     
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by duncan):

 Note that the original bug report is still perfectly valid. The fact that
 `Sys.Info.os` and `Sys.Info.arch` are just strings and we have no idea
 what values they can take is a real problem. My comment above #comment:1
 was just to make the point that Cabal has had to solve this problem
 itself, by bypassing `Sys.Info.os` and `Sys.Info.arch` and using its own
 implementation. It would be more widely useful if we could improve
 `Sys.Info.os` and `Sys.Info.arch`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2614#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to