List of GHCi commands
Non-exhaustive list of commands:
:main <args>– Runs a
mainwith some arguments
:show– Followed by
modules, it lists the modules that are currently in scope; followed by
imports, it lists the imports that are in scope.
:sprint– Prints what has been evaluated so far while showing thunks with an underscore. Helpful for understanding laziness.