Extra whitespace in type-level list #341

Open
opened 2021-02-25 15:19:30 +01:00 by pbrisbin · 1 comment
pbrisbin commented 2021-02-25 15:19:30 +01:00 (Migrated from github.com)

Given:

something
  :: (MonadIO m, GraphulaContext m '[MathQuestion, MathQuestionSkill])
  => a
something = undefined

Expected:

something
  :: (MonadIO m, GraphulaContext m '[MathQuestion, MathQuestionSkill]) => a
something = undefined

Actual:

something
  :: (MonadIO m, GraphulaContext m '[MathQuestion , MathQuestionSkill]) => a
something = undefined

We experience this on v0.13.1.0 with a relatively heavy configuration, but it reproduces on https://hexagoxel.de/brittany/ with its defaults too:

**Given**: ```hs something :: (MonadIO m, GraphulaContext m '[MathQuestion, MathQuestionSkill]) => a something = undefined ``` **Expected**: ```hs something :: (MonadIO m, GraphulaContext m '[MathQuestion, MathQuestionSkill]) => a something = undefined ``` **Actual**: ```hs something :: (MonadIO m, GraphulaContext m '[MathQuestion , MathQuestionSkill]) => a something = undefined ``` We experience this on v0.13.1.0 with a relatively heavy configuration, but it reproduces on https://hexagoxel.de/brittany/ with its defaults too: ![](https://files.pbrisbin.com/screenshots/screenshot.987983.png)
tfausak commented 2021-11-29 03:08:25 +01:00 (Migrated from github.com)

Here's a shorter way to reproduce the same problem:

$ cat Example.hs
a :: '[c, d]

$ cabal exec -- brittany Example.hs
a :: '[c , d]
Here's a shorter way to reproduce the same problem: ``` sh $ cat Example.hs a :: '[c, d] $ cabal exec -- brittany Example.hs a :: '[c , d] ```
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hexagoxel/brittany#341
There is no content yet.