Re: [GHC] #2153: GHCi does not have a :source command to load further .ghci files

2008-04-09 Thread Yitzchak Gale
Claus Reinke wrote: i tried at the time to get others to post their .ghci files at well, and share their favourite tricks, but there weren't many responses. OK, OK. I just posted Customized GHCi interactive environments to wiki. It's a simple but very powerful trick that I use all the time.

Re: [GHC] #2153: GHCi does not have a :source command to load further .ghci files

2008-04-08 Thread Claus Reinke
it is actually in the users guide, just not where one would find it when looking for a way to do this.. http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-commands.html section 3.7 (GHCi commands), as one of the examples for using ':def'. perhaps it would help to (-: todo; +: done):

RE: [GHC] #2153: GHCi does not have a :source command to load further .ghci files

2008-04-07 Thread Simon Peyton-Jones
| Wow, that simple??? | | What needs to be done to get this in :? output? (It should be in the | manual, at least...) Indeed! But it's more application-note than user manual. Fortunately, we have a place for such material, namely GHC's collaborative documentation (a wiki)