In haskell-mode, C-c C-b
opens a GHC REPL for testing and whatnot. However, it invariably opens in a frame equal in size to the one in which I am coding. There is a mode hook, inferior-haskell-mode-hook
, but my attempts to add something along the lines of
(add-hook 'inferior-haskell-mode-hook
(lambda () (shrink-window 4)))
have resulted in either no effect, or the error message Cannot resize the root window of a frame
. Any suggestions would be greatly appreciated.
Edit: The newest update to haskell-mode has borked the REPL functionality entirely, so this question is moot, or at least I can't test the answers until I fix it...