[GHC] #7413: runghc (runhaskell) should be able to reload code on editing

GHC cvs-ghc at haskell.org
Fri Apr 12 20:46:24 CEST 2013


#7413: runghc (runhaskell) should be able to reload code on editing
---------------------------------+------------------------------------------
    Reporter:  va1en0k           |       Owner:                  
        Type:  feature request   |      Status:  new             
    Priority:  normal            |   Milestone:  7.8.1           
   Component:  Compiler          |     Version:  7.6.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by igloo):

  * status:  infoneeded => new
  * milestone:  => 7.8.1


Comment:

 How about we instead add a function
 {{{
 GHC.Exts.getSourceFiles :: IO [FilePath]
 }}}
 which returns the absolute path to the source files that are loaded. In a
 compiled program this would return []. Then the programmer can implement
 his own watching/reloading mechanism.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7413#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list