JuliaLang/julia — pull request #7487 by JeffBezanson (2014-07-01 18:18:43+00:00)
Title: add clear() function that replaces Main

I believe the delay imposed by restarting julia and loading packages is causing a significant amount of pain and productivity loss. This feature should help.

Example session:

```
julia> using Winston # takes a while

julia> plot(rand(8)) # plots

julia> clear()

julia> whos()
Base Module
Core Module
LastMain Module
Main Module
ans Nothing

julia> using LastMain.Winston # takes no time

julia> plot(rand(8)) # plots
```