Skip to content

bitemyapp/cis194-fall16

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CIS194 Exercises and examples

Scaffold for exercises from CIS194 (Fall 16).

Dependencies

Getting started

stack build

to build the project. I recommend using GHCi to iterate on the code more quickly. To start that,

stack ghci

From there you can do:

Prelude> :l src/Fall16.hs

to load the code in src/Fall16.hs and when you change the code you can use :r to reload. When the codeworld web server is running and you want to stop it and do something different you'll probably want to use Ctrl-C or your operating system's equivalent to kill it and then reload the code before re-running. The basic loop looks something like:

Prelude> :l src/Fall16.hs 
[1 of 1] Compiling Fall16           ( src/Fall16.hs, interpreted )
Ok, modules loaded: Fall16.
Prelude> runServer
Open me on http://127.0.0.1:3000/
^Cuser interrupt
Prelude> :r
Ok, modules loaded: Fall16.
Prelude> runServer
Open me on http://127.0.0.1:3000/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published