简体   繁体   中英

How to make a haskell module using EclipseFP?

This may be a dumb question, but I am having trouble creating a haskell module in eclipsefp. I can open the HaskellModule wizard but if I click browse next to source folder there is nothing except my project. My project has folders on it but they do not appear on the dropdown.

You need to define what source folders are in the Cabal file for your project. By default this may be the root folder, this is why you only see your project. In the cabal file say that your source folders are some of your sub folders and you should see them available in the wizard. Bu default a new EclipseFP project uses src as a source folder, not the root.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM