Chapter 3
Developing a Word Game
Section 1
Creating a Project with Stack
To make sure we're taking advantage of a solid structure to develop a more complicated application on, we'll create a project with 'stack.' We'll see how to structure our main module, library functions, and tests and look at how to develop, compile, and test the project. - Build a project with 'stack new' and see how to interact with it in the 'ghci' interpreter - Compile the project with 'stack build' and see how to rename and optimize the executable - Test our code using HSpec (this is an external dependency, but adding it to the project is trivial with Stack)