<div dir="ltr">I have a few basic questions about my project organization  using stack.<div><br></div><div>I'm going to have several executables and a hierarchical library.</div><div><br></div><div>For instance, let's say I'm going to call my overall system "cac" (computer aided composition). I'll have imports like</div><div><br></div><div>import Cac.Util</div><div>import Cac.Search</div><div>import Cac.Search.Algo1</div><div>-- some modules that assist things</div><div>import XDoc</div><div>import XDoc.Parse</div><div><br></div><div>and so on.</div><div><br></div><div>I'll have executables named 'foo', 'bar', etc.</div><div><br></div><div>So would the following be correct?</div><div><br></div><div>- call the directory where I put all stack packages $PROJ</div><div><br></div><div>- call the top level of my specific project $PROJ/cac, which will have $PROJ/cac/cac.cabal </div><div><br></div><div>- I'll have the following files and dirs:</div><div><br></div><div>   - modules:</div><div><br></div><div>   -  $PROJ/cac/src/Cac.hs</div><div>   -  $PROJ/cac/src/Cac/</div><div>   -  $PROJ/cac/src/Cac/Util.hs</div><div><div>   -  $PROJ/cac/src/Cac/Search.hs</div></div><div>   -  $PROJ/cac/src/Cac/Search/</div><div>   -  $PROJ/cac/src/XDoc.hs</div><div>   -  $PROJ/cac/src/XDoc/</div><div><div>   -  $PROJ/cac/src/XDoc/Parse.hs</div></div><div><br></div><div>   - executables:</div><div><br></div><div>   -  $PROJ/app/foo.hs</div><div><div>   -  $PROJ/app/bar.hs</div></div><div><br></div><div>Also, if I'm going to use git, would my .git/ directory be at $PROJ/cac/.git/ ?</div><div><br></div><div>thanks</div><div>D</div><div><br></div><div><br></div><div><div><br></div><div><br><div><br></div><div><br></div></div></div></div>