avh4 / avh4/elm-format

Single-line let declarations (and top-level declarations)

Open
#708 0 comments 6 reactions 0 assignees View on GitHub
0.9 discussion
Dominant language
Haskell
Stars
1.3k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

Should single-line let declaractions (and possibly also top-level declaractions) be allowed? If so, what should the rules related to that be?

- One proposal from https://github.com/avh4/elm-format/issues/507#issuecomment-426995482 is to only allow it for declarations that have no arguments

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the linked elm-format proposal and the existing rules for single-line let declarations and top-level declarations. Determine whether declarations without arguments should be allowed and define the formatting rules for the accepted cases; done means the project has an agreed behavior and corresponding implementation scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
elm
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.