I'm trying to write a module in Haskell. It does not have a main
because it's not meant to be a stand-alone program.
I just started using syntastic, and it is constantly reporting:
The IO action ‘main’ is not defined in module ‘Main’
This is preventing it from reporting other real errors in my module. If I try to work around this by adding a dummy main, it starts complaining that everything else is "Defined but not used".
How can I tell syntastic (and whatever checker it's using under the covers) that there isn't supposed to be a main
?
module Foo where
at the beginning. – Overcoat