#2948: the type of System.Posix.Process.executeFile is not general enough
-----------------------------+----------------------------------------------
Reporter:  nr                |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  libraries/unix  
 Version:  6.10.1            |       Severity:  normal          
Keywords:                    |       Testcase:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
-----------------------------+----------------------------------------------
 Because {{{System.Posix.Process.executeFile}}} does not return, its return
 type should be {{{IO a}}}, not {{{IO ()}}}.   This change would make it
 possible to use {{{System.Posix.Process.executeFile}}} in a context that
 expects {{{IO Int}}} or {{{IO ProcessStatus}}}, for example.

 I may well have assigned this bug to the wrong library.

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