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.
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