Skip to content

Conversation

gracjan
Copy link
Contributor

@gracjan gracjan commented Oct 27, 2015

Keep top level constructs like 'data', 'import', 'class', 'instance' at top level.

@gracjan gracjan changed the title Recognize import construct in indentation Recognize top level constructs in indentation Oct 27, 2015
gracjan added a commit that referenced this pull request Oct 27, 2015
Recognize top level constructs in indentation
@gracjan gracjan merged commit 6487f75 into haskell:master Oct 27, 2015
@ivan-m
Copy link
Contributor

ivan-m commented Oct 28, 2015

Just to check/make sure: I believe it's valid for data, etc. to be indented as long as everything is indented: does this change support that? (My GHC isn't working atm so I can't verify this myself.)

@gracjan
Copy link
Contributor Author

gracjan commented Oct 28, 2015

haskell-indentation never supported any other indentation level than 0.
This change does not undo this limitation.

2015-10-28 11:15 GMT+01:00 Ivan Lazar Miljenovic [email protected]:

Just to check/make sure: I believe it's valid for data, etc. to be
indented as long as everything is indented: does this change support
that? (My GHC isn't working atm so I can't verify this myself.)


Reply to this email directly or view it on GitHub
#965 (comment).

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

Successfully merging this pull request may close these issues.

2 participants