Re: [GHC] #1407: Add the ability to :set -l{foo} in .ghci files
#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
Re: [GHC] #1407: Add the ability to :set -l{foo} in .ghci files
#1407: Add the ability to :set -l{foo} in .ghci files +--- Reporter: guest| Owner: igloo 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 simonpj): * owner: = igloo Comment: Ian, could you investigate why this doesn't already work? Thanks. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1407#comment:9 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
Re: [GHC] #1407: Add the ability to :set -l{foo} in .ghci files
#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 Severity: minor | Resolution: Keywords:| Difficulty: Easy (1 hr) Testcase:| Os: Unknown/Multiple Architecture: Unknown/Multiple | -+-- Changes (by igloo): * milestone: 6.10 branch = _|_ -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1407#comment:6 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
Re: [GHC] #1407: Add the ability to :set -l{foo} in .ghci files
#1407: Add the ability to :set -l{foo} in .ghci files -+-- Reporter: guest| Owner: Type: feature request | Status: new Priority: normal | Milestone: 6.10 branch Component: GHCi |Version: 6.6.1 Severity: minor| Resolution: Keywords: | Difficulty: Easy (1 hr) Testcase: | Architecture: Unknown Os: Unknown | -+-- Comment (by igloo): See also #2365 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1407#comment:3 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
Re: [GHC] #1407: Add the ability to :set -l{foo} in .ghci files
#1407: Add the ability to :set -l{foo} in .ghci files -+-- Reporter: guest| Owner: Type: feature request | Status: new Priority: normal | Milestone: 6.10 branch Component: GHCi |Version: 6.6.1 Severity: minor| Resolution: Keywords: | Difficulty: Easy (1 hr) Testcase: | Architecture: Unknown Os: Unknown | -+-- Changes (by simonmar): * difficulty: Unknown = Easy (1 hr) * milestone: 6.8 branch = 6.10 branch -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1407#comment:2 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
Re: [GHC] #1407: Add the ability to :set -l{foo} in .ghci files
#1407: Add the ability to :set -l{foo} in .ghci files +--- Reporter: guest|Owner: Type: feature request | Status: new Priority: normal |Milestone: 6.8 Component: GHCi | Version: 6.6.1 Severity: minor| Resolution: Keywords: | Difficulty: Unknown Os: Unknown | Testcase: Architecture: Unknown | +--- Changes (by igloo): * milestone: = 6.8 Comment: This is related to allowing -package flags in OPTIONS_GHC, which is talked about in http://hackage.haskell.org/trac/ghc/wiki/GhcPackages -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1407 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
[GHC] #1407: Add the ability to :set -l{foo} in .ghci files
#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 Severity: minor| Keywords: Difficulty: Unknown | Os: Unknown Testcase: | Architecture: Unknown --+- Currently it appears that library flags like -lidn can only be passed on the command line of ghci, but it would be convenient (and more consistent) to be have to have them able to work from the .ghci file. Attempts to do so are silently ignored in both 6.4.2 and 6.6. The only other place it would make sense to pass it would be as something like OPTIONS_GHC, but that results in unknown flags in {-# OPTIONS #-} pragma: -lidn in 6.4.2 and appears to be silently ignored in 6.6. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1407 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