default to emacs mode in haskell repls
use pretty symbols in haskell code
fix completion function for when there's no repl
make undefined resolve to ⊥