haskell-mode
haskell-mode copied to clipboard
Emacs mode for Haskell
The regex syntax `\s_` is documented at , and the syntax table entries for prime and underbar (underscore) are already set in `haskell-mode-syntax-table`.
One very confusion thing to me as I am very new to cabal was how targets work and it took me quite a while to figure all of this out....
If I am in a Haskell project directory and have added packages to my executable build-depends section, is it possible to start haskell-mode REPL with the cabal command cabal repl...
Example: Might be something introduced in Cabal 3.10.x + GHC 9.6. Breaks linting.
Consider the program: ``` main = print $ (`div` 2) 3 ``` If you put the cursor inside the brackets anywhere *except* on the first back-tick character and hit `C-M-u`...
When I load a file from a test-suite, I am getting suggestions to add dependencies to the cabal file that are already listed as dependencies in the test-suite. Reproducer: ```...
Hi, I just got started with haskell-mode and am facing a weird issue: whenever I run `haskell-process-load-file` on a file that contains an error, any subsequent runs of this function...
As [the Cabal document](https://cabal.readthedocs.io/en/latest/file-format-changelog.html#cabal-version-2-2) says, Cabal allows redundant leading (and trailing) commas since 2.2. And some tools such as [cabal-fmt](https://github.com/phadej/cabal-fmt) use leading commas by default. However, the indentation of such...
Hi, while editing in Haskell mode (Tidal Cycles files) Emacs quite frequently pauses, shows a spinner and I have to Ctrl-G to be able to go on. It happens mostly...
I like to use "single cabal script" a lot for small examples, e.g.: `$ cat ~/Templates/cabalscript.hs`: ```haskell #!/usr/bin/env cabal {- cabal: build-depends: base -} main = do putStrLn "Hello World!"...