Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

error: Main' is defined in multiple file

Help
Anonymous
2012-02-21
2012-12-06

  • Anonymous
    2012-02-21

    After an update to eclipse and the eclipse-fp plugin, I get this error on an existing project:

      <no location info>:
        module `main:Main' is defined in multiple files: D:\Java\Now\WorkSpace\Haskell\src\APL_hw4.hs
                                                         D:\Java\Now\WorkSpace\Haskell\src\APL_hw4.hs
    Failed, modules loaded: none.
    
     
  • JP Moresmau
    JP Moresmau
    2012-02-21

    Hard to tell, is APL_hw4 referenced in several components in your cabal file? EclipseFP does work fine with several files defining Main modules for different executable section in the Cabal file.