#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
---------------------------------+------------------------------------------
Changes (by mjg):

  * owner:  => mjg


Comment:

 I've just listed all os(...) values occuring in Cabal files within a whole
 HackageDB:

 osx, darwin,
 freebsd, openbsd, netbsd,
 linux,
 mingw32, win32,
 solaris.

 For arch(...):
 i386, x86_64.

 Not sure if it helps, but I'd suggest to remove "Other" option from
 enumerations, since it allows to use values that may not be interpreted by
 Cabal. Interestingly most values are never used.
 May do this and add documentation, if permitted.

 Next step would be to email authors of those packages that use unsupported
 os() or arch() values.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2614#comment:9>
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