I\'m a Haskell beginner, and I\'m trying to use the dynamic loading in the \'plugins\' package. I\'m kind of lost. Here is a minimal program with two files.
Main.h
You might want to take a look at a similar problem with the GHC-API on haskell ghc dynamic compliation only works on first compile.