[GHC] #276: ghci compile option
GHC
trac at galois.com
Fri Oct 13 11:21:45 EDT 2006
#276: ghci compile option
--------------------------------+-------------------------------------------
Reporter: goronsf | Owner: nobody
Type: feature request | Status: assigned
Priority: normal | Milestone: _|_
Component: GHCi | Version: None
Severity: minor | Resolution: None
Keywords: | Difficulty: Moderate (1 day)
Architecture: Unknown | Os: Unknown
--------------------------------+-------------------------------------------
Changes (by igloo):
* architecture: => Unknown
* difficulty: => Moderate (1 day)
* component: None => GHCi
* milestone: => _|_
* os: => Unknown
Old description:
> {{{
> Sometimes you want to develop something using ghci, but
> a lot of files are just interpreted everytime (which
> takes a lot time), while they could also had been
> compiled. (An option is writing a simple script each
> time (but that's not what users want.) So what I want
> (and some people on #haskell): an interface to compile
> everything instead of interpretate it.
>
> So inside ghci I want to have an option:
> :compile which compiles everything (except maybe for
> the module you are currently working on.)
>
> This is how people in #haskell would appreciate it:
>
> 21:13 < goron> Is there some command to say in ghci:
> precompile everything?
> 21:13 < goron> I had to write some scripts to do it.
> 21:14 < Lemmih> goron: ghc --make, perhaps.
> 21:15 < goron> Lemmih: I meant inside ghci. My approach
> was ghc --make, but I had to include a lot of
> paths.
> 21:15 < goron> And it seems something useful.
> 21:17 < Lemmih> Agreed.
> 21:18 < Lemmih> But unfortunately I haven't heard of
> such feature.
> 21:18 < Somebody else> Yep, would be immensly useful.
>
> }}}
New description:
{{{
Sometimes you want to develop something using ghci, but
a lot of files are just interpreted everytime (which
takes a lot time), while they could also had been
compiled. (An option is writing a simple script each
time (but that's not what users want.) So what I want
(and some people on #haskell): an interface to compile
everything instead of interpretate it.
So inside ghci I want to have an option:
:compile which compiles everything (except maybe for
the module you are currently working on.)
This is how people in #haskell would appreciate it:
21:13 < goron> Is there some command to say in ghci:
precompile everything?
21:13 < goron> I had to write some scripts to do it.
21:14 < Lemmih> goron: ghc --make, perhaps.
21:15 < goron> Lemmih: I meant inside ghci. My approach
was ghc --make, but I had to include a lot of
paths.
21:15 < goron> And it seems something useful.
21:17 < Lemmih> Agreed.
21:18 < Lemmih> But unfortunately I haven't heard of
such feature.
21:18 < Somebody else> Yep, would be immensly useful.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/276>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list