commands (with access to all the built-ins, and means to define completion, etc.), and a mechanism to hook those commands into a running GHCi process. How hard would it be to implement something like this? Cheers, Simon