Incorporated mflatt's magical suggestion for namespace construction; repl compilation should be fast now.