On 19/09/2007, at 10:05, Tomasz Zielonka wrote:


If you don't find a better solution, then at least you can make it
easier to perform the above sequence:

$ cat ~/.ghci
:def . readFile
$ cat script
:l Module
:b 236
$ ghci
GHCi, version 6.8.20070912: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
Prelude> :. script
[1 of 1] Compiling Module           ( Module.hs, interpreted )
Ok, modules loaded: Module.
Breakpoint 0 activated at Module.hs:236:20-45
*Module> _


You could also touch the module file to force a full reload:

GHCi, version 6.7.20070907: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
[1 of 1] Compiling Main             ( Qsort.hs, interpreted )
Ok, modules loaded: Main.
*Main> :! touch Qsort.hs
*Main> :r
[1 of 1] Compiling Main             ( Qsort.hs, interpreted )
Ok, modules loaded: Main.
*Main>

Cheers
pepe
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to