pyCthon
pyCthon

Reputation: 12361

hot code loading in haskell

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

Answers (2)

Ptharien's Flame
Ptharien's Flame

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

Dmytro Sirenko
Dmytro Sirenko

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

Related Questions