-
Look at how these do it:
https://github.com/OCamlPro/ocp-indent
https://github.com/ocaml-ppx/ocamlformat
-
It would be nice if fourmolu could take folders as well as files as an input and would process all haskell files in that folder (recursively)
so instead of
```
fourmolu -i $(find src -name '*.hs')…
-
**Describe the bug**
Ormolu doesn't understand the significant of `OverloadedDot` and changes `foo.bar` into `foo . bar`, which changes the AST.
**To Reproduce**
Try and format
```haskell
{…
-
### Describe the bug
`hls-tactics-plugin` is missing from `haskell-language-server-wrapper --list-plugins`
### Steps To Reproduce
Steps to reproduce the behavior:
1. `nix-shell -p haskellPackage…
r-vdp updated
2 years ago
-
### Your environment
- Which OS do you use? macOS Monterey 12.5.1
- Which version of GHC do you use and how did you install it? GHC-9.4.2, installed via ghcup
- How is your project built (alt…
-
Here is a minimal example:
```
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TypeApplications #-}
module PromotedConstructor where
da…
-
**Is your feature request related to a problem? Please describe.**
Consider:
```
{-# LANGUAGE PackageImports #-}
import "servant-server" Servant (Context (EmptyContext), Get, Handler, NamedR…
silky updated
2 years ago
-
### Your environment
Ubuntu 22.04.1 LTS
vscode
ghcup-0.1.18.0
cabal-3.8.1.0
hls-1.8.0.0
ghc-9.2.4
tools installed via ghcup
### Steps to reproduce
Create a `cabal` project with a `com…
-
It is legal in Haskell to write an import list like this:
``` haskell
import Foo
( a,
b,
c,
)
```
Note the trailing comma. In particular, Ormolu formats files this way. Howev…
-
This depends on `hlint` support: https://github.com/ndmitchell/hlint/issues/608.