snapframework/snap — Issue #20: hint interpreter does not accept -main-is as a ghc-option
Author: ozataman
Created: 2011-11-24 06:23:08+00:00
State: open

When placing the snap main in a module not directly at Main, we need to specify:

ghc-options: -main-is A.B.C.main

Unfortunately, this results in the following error on command line:

my-exec: Unknown interpreter error:
flags: '-main-is A.B.C.main' not recognized