mezzode / cs3141-asst1

COMP3141 18s1 Assignment 1 - Tortoise Graphics

Home Page:http://www.cse.unsw.edu.au/~cs3141/18s1/Assignment%201/Spec.pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firstly, ensure that GHC has been setup for this project by typing, in the directory that contains the assignment code:

stack setup

If stack reports that it has already set up GHC, you should be able to build the assignment with:

stack build

This build command will, on first run, download and build the library dependencies as well, so be sure to have an internet connection active. To run the program from ‘Main.hs’, which saves an image tortoise.png, type:

stack exec Tortoise

To run the program from ‘Tests.hs’, which contains all the QuickCheck properties, type:

stack exec TortoiseTests

To start a ghci session for the Tortoise program, type:

stack repl Tortoise:exe:Tortoise

Similarly, stack repl can be used with TortoiseTests:

stack repl Tortoise:exe:TortoiseTests

Lastly, if for whatever reason you want to remove all build artefacts, type:

stack clean

About

COMP3141 18s1 Assignment 1 - Tortoise Graphics

http://www.cse.unsw.edu.au/~cs3141/18s1/Assignment%201/Spec.pdf


Languages

Language:Haskell 100.0%