Hi,
> I'm wondering how to run a custom preprocessor with "cabal repl"?
You can try putting
{-# OPTIONS_GHC -F -pgmF ... #-}
at the top of your source file.
That works fine for me with e.g. [1].
Cheers,
Simon
[1] https://github.com/sol/hspec-example/blob/master/test/Spec.hs