Multiple Haskell cabal-packages in one directory

Posted by aleator on Stack Overflow See other posts from Stack Overflow or by aleator
Published on 2009-11-25T14:13:08Z Indexed on 2010/04/13 2:32 UTC
Read the original article Hit count: 448

Filed under:
|

What is the recommended way of having several cabal packages in one directory?

Why: I have an old project with many separable modules. Since originally they formed just one program it was, and still is, handy to have them in same directory for easy compiling.

Options

  1. Just suffer and split everything, including VCS holding the stuff, into different directories?
  2. Hack cabal until it is happy with multiple .cabal files in same directory?
  3. Make another subdirectory for each module and put .cabal files there along with symlinks to original pieces of code?
  4. Something smarter? What?

© Stack Overflow or respective owner

Related posts about haskell

Related posts about cabal