Stefan O'Rear wrote:
Calling Haskell code from the garbage collector is essentially
impossible to do efficiently and correctly. Don't even try it, your
sanity is not worth saving 3 lines of C coding.
It is a sad thing indeed if that is correct advice.
Jules