kaol: you might like this small improvement in .ghci, I find it very useful: -- Reload (to pick up code changes and flush cached unsafePerformIO values) and run main with the given args :def rmain \args -> return $ ":reload\n:main "<>args