Handle EOFs in the repl
authorLuke Lau <luke_lau@icloud.com>
Sun, 19 May 2019 13:19:07 +0000 (14:19 +0100)
committerLuke Lau <luke_lau@icloud.com>
Sun, 19 May 2019 13:19:07 +0000 (14:19 +0100)
commitcd0347585b7a03941baad82b4f2ed6deb8ff78f4
tree91bd3f2fbb1f81659a6e4e6c752c46ed06e8d6db
parentca0230e700099b456ec47b7a705ca5d1e6db2841
Handle EOFs in the repl

This way whenever ^D is typed at the repl, the program gracefully
terminates and prints out the complete module.
Main.hs