haskell / haskell/stylish-haskell

Bad module formatting with long module names

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

Description

Consider the following

``` haskell
import qualified Control.Exception as E
import Control.Monad
import Control.Monad.Error
import Database.MongoDB (Action, Pipe,
Secs, access,
close, connect',
master,
readHostPortM,
runIOE)
import qualified Database.MongoDB as BSON

import qualified Network.HTTP.Conduit.OAuth as Oa
import qualified Network.HTTP.Conduit.OAuth.Types as Oa
import qualified Network.HTTP.Conduit.OAuth.Types.Credentials as Cred
```

It'd be nice if there were a way to override the module import formats to align differently in circumstances like this. Otherwise, the result is pretty ugly and unreadable.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.