-
**Describe the bug**
A multiline splice in a `do` block followed with an argument fails with a different AST
**To Reproduce**
Try to format this code:
```haskell
foo = do
$( bar
) baz
…
-
I've been using HLS in VS Code for working on GHC for a few months and am very happy with it.
In fact, I can't imagine working without it anymore.
But in the last few days, memory use exploded sev…
-
With a simple example took from `retrie` readme:
```haskell
module MyModule2 where
myMaybe :: b -> (a -> b) -> Maybe a -> b
myMaybe d f mb = case mb of
Nothing -> d
Just x -> f x
type…
-
**Describe the bug**
Another one, similar to #742. Again, operators in arrow syntax are involved, and it appears to need at least two instances to fail.
I'm finding these issues from running ormol…
-
**Describe the bug**
(EDIT: I first thought this was due to the `where` clause, instead it's because of the bananas in a do. Updated accordingly.)
ormolu formats a valid expression of the form
…
-
Hello! I'm in the process of adding `ormolu` support to HIE, but I have doubts with the way `ormolu` seems to handle formatting just a selection inside a file, or if it's even advisable!
For the mo…
-
**Is your feature request related to a problem? Please describe.**
Trailing newlines of files often make diffs on Git history. This is annoying.
It seems the current Ormolu (0.1.4.1) keeps trailing …
-
なんで? 変な差分が出るとよくないのでなんとかしたい。フォーマッタである [Ormolu](https://github.com/tweag/ormolu) 側でなんとかすべきだと思うが、とりあえずは `.editorconfig` を足してかつ `scripts/pre-commit` の中で簡単に検査するのがいいと思う
@uta8a すまん……
ref #143
-
**Describe the bug**
When run on code like below (from the [GHC Arrows documentation](https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/arrows.html#defining-your-own-control-structures)), orm…
-
We are currently doing this:
```sh
LANGUAGE_EXTS=$(perl -ne '$x=1 if /default-extensions:/?1:(/^[^-]/?0:$x); print "--ghc-opt -X$1 " if ($x && /^- (.+)/);' package-defaults.yaml)
[...]
ormol…