GHCi is a powerful REPL. We can do almost anything in it which we can do in a file. It is also fast and great to play with code.| notes.abhinavsarkar.net