|
Re: ghci feature suggestion: msg#00113lang.haskell.glasgow.bugs
On Thu, Aug 17, 2006 at 05:23:53PM +0100, Malcolm Wallace wrote: > Frederik Eaton <frederik@xxxxxxxxxxxxxx> 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 on more than one thing at a time, and I > > only have one home directory. > > But you can have a separate .ghci file for every directory you work in. > The config file is read in preference from the current directory before > looking in $HOME. I usually test things from different directories (i.e. project in one directory, code using project in another) so I think that my suggestion would still be useful. However, I confess to misreading the documentation WRT .ghci in current working directory (sorry!). Thanks, Frederik -- http://ofb.net/~frederik/
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: impossible happened: splitTyConApp a{tv i6hr}, Simon Peyton-Jones |
|---|---|
| Next by Date: | Re: impossible happened: splitTyConApp a{tv i6hr}, Frederik Eaton |
| Previous by Thread: | Re: ghci feature suggestion, Malcolm Wallace |
| Next by Thread: | Re: [GHC] #786: bugs around tagToEnum#, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |