You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would love it if I could have a persistent file called scratch.hs that I keep in my ~/.emacs.d that I can execute as a script. But deep inside the script logic it generates a fake name Main.hs regardless of the file name. This unfortunately breaks the haskell-mode's haskell-compile jump-to-error support because the filenames don't match.
As a workaround, I call it Main.hs, which is no biggy, but it'd be a pretty sweet workflow optimisation to be able to have a scratch.hs file! We could even add support in haskell-mode to generate / popularise this file. Possibly add special handling so it always gets compiled the correct way and perhaps even a special new-repl launcher too.
It would also be really great for performance reasons to be able to short stop of generating the binaries. Often I just want to check for compilation.
// @typedrat I'm guessing you know the most about this than anybody 😄
The text was updated successfully, but these errors were encountered:
I would love it if I could have a persistent file called
scratch.hs
that I keep in my~/.emacs.d
that I can execute as a script. But deep inside the script logic it generates a fake nameMain.hs
regardless of the file name. This unfortunately breaks thehaskell-mode
'shaskell-compile
jump-to-error support because the filenames don't match.As a workaround, I call it
Main.hs
, which is no biggy, but it'd be a pretty sweet workflow optimisation to be able to have ascratch.hs
file! We could even add support inhaskell-mode
to generate / popularise this file. Possibly add special handling so it always gets compiled the correct way and perhaps even a specialnew-repl
launcher too.It would also be really great for performance reasons to be able to short stop of generating the binaries. Often I just want to check for compilation.
// @typedrat I'm guessing you know the most about this than anybody 😄
The text was updated successfully, but these errors were encountered: