On a Mac, do this: 1. Comment out the following line in tutorial6.hs module Tutorial6 where 2. Add a main function in tutorial6.hs with the display command that you want to test, such as: main :: IO () main = display (Go 30 :#: Turn 120 :#: Go 30 :#: Turn 120 :#: Go 30) 3. Compile the code in the terminal with ghc --make tutorial6.hs 4. Run the code with ./tutorial6 5. Then, to terminate your application type ctrl-C ctrl-C in the terminal window. Thanks to Stephen Gilmore for these instructions.