Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

hot code loading in haskell

Tags:

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.

like image 793
pyCthon Avatar asked Nov 06 '12 19:11

pyCthon


2 Answers

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.

like image 104
Ptharien's Flame Avatar answered Sep 28 '22 05:09

Ptharien's Flame


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.

like image 42
Dmytro Sirenko Avatar answered Sep 28 '22 04:09

Dmytro Sirenko