I see there's a typo in the book
cabal sandox init

instead of
cabal sandbox init
Page 102:
"Define Ttpe synonyms to clarify code" -> "Define Type synonyms to clarify code"