brittany
ormolu
Our great sponsors
brittany | ormolu | |
---|---|---|
7 | 7 | |
685 | 825 | |
- | 2.7% | |
0.0 | 6.6 | |
4 months ago | 3 days ago | |
Haskell | Haskell | |
GNU Affero General Public License v3.0 only | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
brittany
-
Format multiline imports in hls (emacs)
You will also need a formatter that uses that style. Brittany for example. The default formattingProvider for HLS is ormolu, which I believe doesn't use this style, so you will have to change this setting.
-
Why is there no "standard" formatting tool for haskell?
For Haskell I use Brittany with this config:
Yeah I couldn't find anything at all which is really unfortunate. You could check out the config source code
-
Advent of Code 2021 day 1
Turns out I prefer Brittany to Ormolu, I edited it so it hopefully looks less verbose all on one line
-
Let's talk about Brittany
I use Brittany and prefer it to Ormolu, because it aligns more things and it break lines that are too long automatically. I have recently tried to figure out how I could implement a solution to https://github.com/lspitzner/brittany/issues/157, but it is quite hard to figure out which parts of the code would be involved in such a change. And I don't really have enough time to make steady contributions, but I will probably try to make a few contributions sometime.
I would say that development has stalled: https://github.com/lspitzner/brittany/issues/322
ormolu
-
Browser to Haskell Wasm Reactor Module Communication Example
I have a similar example based on Ormolu live. I wonder if there are any libraries being developed to send data back and forth?
-
Format multiline imports in hls (emacs)
You will also need a formatter that uses that style. Brittany for example. The default formattingProvider for HLS is ormolu, which I believe doesn't use this style, so you will have to change this setting.
- Monthly Hask Anything (February 2022)
- Open source projects for beginners
-
Advent of Code 2021 day 1
Turns out I prefer Brittany to Ormolu, I edited it so it hopefully looks less verbose all on one line
-
Emacs for Haskell
For code formatting ormolu is a good option
What are some alternatives?
fourmolu - A fourk of ormolu that uses four space indentation and allows arbitrary configuration. Don't like it? PRs welcome!
stylish-haskell - Haskell code prettifier [Moved to: https://github.com/haskell/stylish-haskell]
haskell-language-server - Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
hlint - Haskell source code suggestions
hadolint - Dockerfile linter, validate inline bash, written in Haskell
normalize-imports - Sort and align Haskell import statements
fugue - A recapitulated prelude with minimal dependencies and profligate exports.
lsp-haskell - lsp-mode :heart: haskell
axel - Haskell + Lisp
ihaskell - A Haskell kernel for the Jupyter project.
leksah - Haskell IDE
repl - Public friendly Haskell REPL