Sometimes it’s quite useful to play around with functions and data types in your Stack project from within the GHCi. You can do this by simply running:

stack ghci

from the root of your Stack project.

This however does not include any test sources or dependencies you may have. To include those as well run:

stack ghci --test --no-load