#1407: Add the ability to :set -l{foo} in .ghci files
----------------------------------------+-----------------------------------
    Reporter:  guest                    |       Owner:                  
        Type:  feature request          |      Status:  new             
    Priority:  normal                   |   Milestone:  _|_             
   Component:  GHCi                     |     Version:  6.6.1           
    Keywords:                           |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple         |     Failure:  None/Unknown    
  Difficulty:  Easy (less than 1 hour)  |    Testcase:                  
   Blockedby:                           |    Blocking:                  
     Related:                           |  
----------------------------------------+-----------------------------------
Changes (by mf825):

  * failure:  => None/Unknown


Comment:

 I would like to second this request.  I use emacs as an IDE, and call ghci
 from emacs with all the command line parameter handling in .ghci.  Of
 course I could write elisp functions to pluck -l parameters from :set
 statements in .ghci, but that seems a little insane.

 Also, since both -L and -l are documented as dynamic, and all dynamic
 command line arguments are documented to work both on the command line and
 in .ghci, I suggest this is changed into a bug.

 I reproduced this with ghc-7.6.1 on debian and with ghc-7.4.1 on ubuntu.

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