-
**Is your feature request related to a problem? Please describe.**
When cleaning up code, I often find myself with something like
```haskell
foo
( some expression here
)
bar
```
**De…
-
This has already been discussed a bit at https://github.com/dhall-lang/dhall-haskell/issues/244, but I want to bring this up again.
I'd like it if `dhall format` preserved my intent to lay out an e…
-
**Is your feature request related to a problem? Please describe.**
At work we use `treefmt` to call `ormolu` on ~2.5k Haskell files. This takes about 32 seconds.
A natural improvement would be t…
-
**Describe the bug**
The following source code will be reformatted twice:
```hs
foo :: IO ()
foo = let
foo' = do
putStrLn "hi"
-- test
in foo' >> putStrLn "bye"
```
**To Reproduc…
-
**Describe the bug**
Ormolu formats the following
```haskell
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE NoStarIsType #-}
import GHC.TypeLits
test :: Blah (x * y) -> z
```
as:
```…
-
versions
Haskell extension v1.7.1.
GHCi, version 8.10.7
Vscode:
```
Version: 1.62.2
Commit: 3a6960b964327f0e3882ce18fcebd07ed191b316
Date: 2021-11-11T20:59:05.913Z (5 days ago)
Electro…
-
In some cases, developers might want to run a sequence of formatters for the same file type. For example, re-order the import headers with one tool, and then use the main code formatted to fix the out…
-
I'm on NixOS and just updated to 24.05 and this seems to have stopped working. Well, I can still do the command `Format Document With...` and select `Brittany`, but `Format on Save` does not work any …
-
**Describe the option you'd like to add**
* e.g. name of option, valid values, etc.
* What option setting would keep current behavior?
Proposed option: `indent-guards` with values `true` (current…
-
### Your environment
Which OS do you use:
macOS 12.5 (21G72) on Apple Silicon M1
### Steps to reproduce
Create simple "hello-cabal" project as described [here](https://www.haskell.org/…