haskell / haskell/stylish-haskell

Import and export lists are inconsistent

Open
#28 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

I don't put a space before the parenthesis in things like `Applicative(..)`. stylish adds one in imports, but leaves my module exports unaffected, leading to style inconsistency in the same file.

I'd like:
- An option to not have this space added
- The same style used in exports and imports, in either configuration

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the formatter logic for import and module export lists, then run it on examples such as `Applicative(..)` in both contexts. Done means a configuration option controls the space before the parenthesis and the selected style is applied consistently to imports and exports.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.