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

GADT indentation does not work #16

Open
s9gf4ult opened this issue Feb 28, 2017 · 0 comments
Open

GADT indentation does not work #16

s9gf4ult opened this issue Feb 28, 2017 · 0 comments

Comments

@s9gf4ult
Copy link

Here is the code

data Collection (s :: [S]) (k :: key -> *) (f :: key -> *) where
  Rec     :: Record k f                   -> Collection '[] k f
  List    :: DList (Record k f)           -> Collection '[ 'L ] k f
  Grouped :: Map (DSum k f) (Collection s k f) -> Collection ('G ': s) k f

If I step at the end of declaration wanting to add new constructor, hi2 proposes me just one indentation position and it is totally wrong:

2017-02-28-123232_836x122_scrot

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

No branches or pull requests

1 participant