alright, I use this (love it): -- Reload (code changes, unsafePerformIO values) and run main with the given args. :def rmain \args -> return $ ":reload\n:main "<>args