You can run the examples interactively:
stack ghci
or build and run them:
stack build
stack exec CommonWords
stack exec DoLetExample
stack exec DoLetExample2
stack exec DoLetExample3
stack exec FmapExample
These simple examples are some of the code used in the tutorial chapter on "impure" Haskell.