Re: [Haskell-cafe] GHCI Feature Request: Last Successful Compilation State Saved

2011-08-30 Thread Christopher Done
On 30 August 2011 06:46, Albert Y. C. Lai tre...@vex.net wrote: In #haskell, we came up with the idea of running two instances of ghci. Try loading in one instance first; if good, commit to the other instance too; if bad, you still have the other instance in a functional state. Presumably,

Re: [Haskell-cafe] GHCI Feature Request: Last Successful Compilation State Saved

2011-08-30 Thread Christopher Done
Oh, I didn't reply all. Whoops. On 28 August 2011 13:40, Christopher Done chrisd...@googlemail.com wrote: On 27 August 2011 22:59, aditya siram aditya.si...@gmail.com wrote: I would like for the GHCI interpreter to save its environment before reloading a file and allowed the user to revert

Re: [Haskell-cafe] GHCI Feature Request: Last Successful Compilation State Saved

2011-08-30 Thread Daniel Patterson
Chris, this is amazing! One question - do you have support for tramping in and running ghci remotely (or would that be easy to add)? I primarily develop inside virtual-machines, so while the source code lives where emacs lives, all the libraries are installed inside the virtual-machine (and the

Re: [Haskell-cafe] GHCI Feature Request: Last Successful Compilation State Saved

2011-08-30 Thread Christopher Done
On 30 August 2011 17:48, Daniel Patterson lists.hask...@dbp.mm.st wrote: Chris, this is amazing! One question - do you have support for tramping in and running ghci remotely (or would that be easy to add)? I primarily develop inside virtual-machines, so while the source code lives where emacs

Re: [Haskell-cafe] GHCI Feature Request: Last Successful Compilation State Saved

2011-08-30 Thread Daniel Patterson
On Aug 30, 2011, at 1:15 PM, Christopher Done wrote: 1) You put all your source files on the server, too and then run the GHCi process under tramp and access the files via tramp. 2) Sounds like you'd prefer to keep your files local, which, I suppose means you want to send code to the server

Re: [Haskell-cafe] GHCI Feature Request: Last Successful Compilation State Saved

2011-08-29 Thread Albert Y. C. Lai
On 11-08-27 04:59 PM, aditya siram wrote: Many times I've changed files, loaded them, hit a compilation error and needed, for example, the inferred type signature of some function. Even though that function hasn't been changed I have to either fix my code, undo a bunch of changes or comment out

[Haskell-cafe] GHCI Feature Request: Last Successful Compilation State Saved

2011-08-27 Thread aditya siram
Hi all, I would like for the GHCI interpreter to save its environment before reloading a file and allowed the user to revert back to that state if the compilation was unsuccessful. Many times I've changed files, loaded them, hit a compilation error and needed, for example, the inferred type

Re: [Haskell-cafe] GHCI Feature Request: Last Successful Compilation State Saved

2011-08-27 Thread David Virebayre
2011/8/27 aditya siram aditya.si...@gmail.com: Hi all, I would like for the GHCI interpreter to save its environment before reloading a file and allowed the user to revert back to that state if the compilation was unsuccessful. That would be awesome. I would like this too. David.

Re: [Haskell-cafe] GHCI Feature Request: Last Successful Compilation State Saved

2011-08-27 Thread Daniel Fischer
On Saturday 27 August 2011, 23:10:17, David Virebayre wrote: 2011/8/27 aditya siram aditya.si...@gmail.com: Hi all, I would like for the GHCI interpreter to save its environment before reloading a file and allowed the user to revert back to that state if the compilation was unsuccessful.

Re: [Haskell-cafe] GHCI Feature Request: Last Successful Compilation State Saved

2011-08-27 Thread Daniel Patterson
That doesn't look very promising :( On Aug 27, 2011, at 5:31 PM, Daniel Fischer wrote: On Saturday 27 August 2011, 23:10:17, David Virebayre wrote: 2011/8/27 aditya siram aditya.si...@gmail.com: Hi all, I would like for the GHCI interpreter to save its environment before reloading a file

Re: [Haskell-cafe] GHCI Feature Request: Last Successful Compilation State Saved

2011-08-27 Thread aditya siram
http://www.youtube.com/watch?v=Y_exermAXkUt=0m6s -deech On Sat, Aug 27, 2011 at 4:56 PM, Daniel Patterson lists.hask...@dbp.mm.stwrote: That doesn't look very promising :( On Aug 27, 2011, at 5:31 PM, Daniel Fischer wrote: On Saturday 27 August 2011, 23:10:17, David Virebayre wrote: