Reputation: 12361
It is possible to implement hot code swapping with Haskell? I was reading about Erlang which sparked up my interest, I would like to use these features with Haskell.
Upvotes: 17
Views: 2928
Reputation: 3246
See the package dyre, which was designed for exactly this kind of purpose. There's also hotswap, but it hasn't been updated for a few years now.
Upvotes: 14
Reputation: 5083
There is plugins
package in Cabal, which provides facilities for loading plugins code. But in general Haskell is much more hostile to changing code in runtime than dynamic, bytecode-driven Erlang.
Upvotes: 10