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>
Mon, 3 Jun 2019 23:11:03 +0000 (00:11 +0100)
commit42c91e48890ad2dbdf440a6c8dd96fa6c3333b48
tree91bd3f2fbb1f81659a6e4e6c752c46ed06e8d6db
parent4b65729d043c6a4401828115bfc5e4d63c8006b0
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