[Haskell-cafe] Hot-Swap with Haskell

Andy Stewart lazycat.manatee at gmail.com
Fri Jul 16 09:04:27 EDT 2010

Bartek Ćwikłowski <paczesiowa at gmail.com> writes:

> 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.
Wow, thanks for your hint, i will wait dons fix hs-plugins then try this
cool feature..


  -- Andy

More information about the Haskell-Cafe mailing list