I am trying to understand how to use stack and stackage.org. When I first installed it and used it, stackage.org was at LTS-3.8 (the "resolver"). Since then, stackage.org now has LTS-3.11.
First, I'd like to confirm what this means. Stackage is a repository of packages in which, for a specific LTS version (say 3.8), the packages have been verified to work together. So the packages of LTS-3.8 work together, and the packages of LTS-3.11 also work together. Moving on ...
When I run stack new projectname
, stack tells me:
Checking against build plan lts-3.8
Selected resolver: lts-3.8
Does this mean that the project has been set up to use only the packages and versions that were verified under LTS-3.8?
If I now want to start a new project and want to use the latest LTS version with the new project, how do I tell stack to do that by default?
What about if I want to "upgrade" an older project to use a new LTS version?