Comments (2)
Minimal case is
x address =
(f {id=50})
This is because records that are single-line in the input are being formatted as multiline.
This problem will also apply to if statements, and maybe other things. The multiline logic should be redone to depend on the multiline-ness of the subexpression output instead of the input.
from elm-format.
Fixed in 143238e
from elm-format.
Related Issues (20)
- remove `\ ->` HOT 2
- in `import`: remove `exposing ()`
- Automatic fix request: module Path.To.File instead of module Main
- Performance drops exponentially with deeply nested lists HOT 2
- Critical severity vulnerability - json-schema (via binwrap) HOT 1
- Upgrade to optparse-applicative-0.17.*
- Planned for 0.10.0: Drop official support for Elm 0.17,0.18
- Use stm-conduit for logging
- Dependency updates for 0.8.6
- Upgrade to ghc 9.4
- Upgrade to hspec-golden >= 0.2.0.0
- Use hpack
- 0.8.6 failing to run on Windows HOT 18
- Expose elm-format as a Haskell library
- Formatting unspaced operators HOT 2
- Required parens around comments are removed HOT 1
- Upgrade to ghc 9.6
- Failing to install in Github Actions HOT 3
- Parse and format incomplete code
- Sort case branches to match Msg constructor ordering (only in update functions?) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elm-format.