#1232: generalise runhaskell to support arbitrary file names, not just those 
with
.{l}hs extensions
--------------------------------+-------------------------------------------
    Reporter:  Frederik         |        Owner:             
        Type:  feature request  |       Status:  new        
    Priority:  normal           |    Milestone:  6.8        
   Component:  Compiler         |      Version:  6.6        
    Severity:  normal           |   Resolution:             
    Keywords:  runhaskell       |   Difficulty:  Easy (1 hr)
          Os:  Unknown          |     Testcase:             
Architecture:  Multiple         |  
--------------------------------+-------------------------------------------
Comment (by Frederik):

 Isaac, we have already discussed the issue of hs vs. lhs. See the comment
 starting '03/30/07 03:53:46: Modified by panne'.  My view is: for
 extensionless files, (1) there should be a default interpretation
 (requiring no arguments to runghc), and (2) it should be hs, not lhs,
 since the former is more concise and more useful for short scripts. This
 seems to be the majority view. I would not object for there to be a way to
 tell runghc to assume that a file with no extension is actually literate
 haskell, and not haskell; however, I would object if either (1) or (2) are
 not satisfied, since I believe that not having normal haskell as a default
 for scripts would become an unnecessary burden for users.

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