cdepillabout / cdepillabout/pretty-simple

Wrong indentation in pretty printer

Open
#56 4 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Haskell
Stars
260
Forks
30
PR merge metrics
No merged PRs in 30d

Description

**Reproduce**:
```haskell
pPrint( ((1, 2), 3, (4)) )
```

**Current behavior**
```
(
( 1
, 2
)
, 3
, ( 4 )
)
```

**Expected behavior**: First tuple should be aligned with the rest of the elements.
```
(
( 1
, 2
)
, 3
, ( 4 )
)
```

Is the current behavior intentional?

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.