Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra whitespace in type-level list #341

Open
pbrisbin opened this issue Feb 25, 2021 · 1 comment
Open

Extra whitespace in type-level list #341

pbrisbin opened this issue Feb 25, 2021 · 1 comment

Comments

@pbrisbin
Copy link

pbrisbin commented Feb 25, 2021

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:

@tfausak
Copy link
Collaborator

tfausak commented Nov 29, 2021

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

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

$ cabal exec -- brittany Example.hs
a :: '[c , d]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants