Re: ghci feature suggestion

2006-08-17 Thread Frederik Eaton
On Thu, Aug 17, 2006 at 05:23:53PM +0100, Malcolm Wallace wrote: > Frederik Eaton <[EMAIL PROTECTED]> wrote: > > > > > I've been thinking that it would be nice if I could give ghci on > > > > the command line a list of commands to run initially when it > > > > starts. > > > > > > GHCi can read co

Re: ghci feature suggestion

2006-08-17 Thread Malcolm Wallace
Frederik Eaton <[EMAIL PROTECTED]> wrote: > > > I've been thinking that it would be nice if I could give ghci on > > > the command line a list of commands to run initially when it > > > starts. > > > > GHCi can read commands from a .ghci or $HOME/.ghci files. > > It's not enough because I work o

Re: ghci feature suggestion

2006-08-16 Thread Frederik Eaton
> > I've been thinking that it would be nice if I could give ghci on the > > command line a list of commands to run initially when it starts. This > > way, I could make shell aliases to invoke ghci with project-specific > > configurations, with the appropriate modules loaded automatically. > > > >

Re: ghci feature suggestion

2006-08-16 Thread Duncan Coutts
On Wed, 2006-08-16 at 17:45 +0100, Frederik Eaton wrote: > Hi, > > I've been thinking that it would be nice if I could give ghci on the > command line a list of commands to run initially when it starts. This > way, I could make shell aliases to invoke ghci with project-specific > configurations, w

ghci feature suggestion

2006-08-16 Thread Frederik Eaton
Hi, I've been thinking that it would be nice if I could give ghci on the command line a list of commands to run initially when it starts. This way, I could make shell aliases to invoke ghci with project-specific configurations, with the appropriate modules loaded automatically. Is something like