agrafix / Spock

Another Haskell web framework for rapid development
https://www.spock.li
679 stars 56 forks source link

Tutorial suggests editing cabal file for stack #160

Open philzook58 opened 5 years ago

philzook58 commented 5 years ago

The tutorial suggests editing the cabal file to add dependencies for use with stack. My understanding is that the dependencies are to be added in the package.yaml file and not the cabal file for use with stack. Is this what was intended? I just confused a newcomer with contradictory advice to the contents of the tutorial.

Ref: https://docs.haskellstack.org/en/stable/GUIDE/#files-in-helloworld