[Haskell-cafe] Hot-Swap with Haskell

Bartek Ćwikłowski paczesiowa at gmail.com
Fri Jul 16 08:59:59 EDT 2010

Hello Andy,

2010/7/16 Andy Stewart <lazycat.manatee at gmail.com>:

> There are some problems with re-compile solution:
> 1) You can't save *all* state with some FFI code, such as gtk2hs, you
> can't save state of GTK+ widget. You will lost some state after
> re-launch new entry.

For my 2008 GSOC application I wrote a demo app that used hot code
reloading and it maintained gtk state just fine. The code (and video)
is available at http://paczesiowa.dw.pl/ , it worked in ghc 6.8 and
needed hs-plugins, so it won't work now, but the approach should work.

Bartek Ćwikłowski

More information about the Haskell-Cafe mailing list