First, make sure the dynamic library is up-to-date.
Note that Ouroboros.so is a symlink in the main folder pointing to the output of cabal build.
If the output of your cabal build puts the output elsewhere (because of differing ghc/cabal versions etc.), you might have to update the symlink.
cabal buildNow, run the example:
python example.py- Call Haskell from Python
- Pass a Python callback function to a Haskell function, which Haskell will then call
- Run Haskell in 'threaded' mode and have it do other things while running Python callbacks
- Support the Python
multiprocessinglibrary ('just works'!) - Require only a single Ctrl+C to quit (currently requires two).