Skip to content

Evaluate special comments in your program on file save.

Notifications You must be signed in to change notification settings

brianhempel/live-ghci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Live GHCi

Live GHCi lets you put comments in your program...

-- 5*5 ==>

...that are evaluated whenever the file is saved:

-- 5*5 ==> 25

If re-evaluation of all special comments is getting too slow, you can change a ==> to a => and it will be skipped.

Setup

Clone and make it:

$ git clone https://github.com/brianhempel/live-ghci.git
$ cd live-ghci
$ make install

A binary will be produced and copied to /usr/local/bin/live-ghci.

Then in your Haskell project directory, start Live GHCi as follows:

$ live-ghci

Live GHCi watches all Haskell files in the current and deeper subdirectories for changes.

About

Evaluate special comments in your program on file save.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published