Skip to content

Conversation

@coot
Copy link
Contributor

@coot coot commented Aug 4, 2017

  • indentation changes (checkout the commit description)
  • add kind keyword

Marcin Szamotulski added 3 commits August 4, 2017 10:22
* indent multiline type signatures
  ```
  compareTuples
    :: forall a b
     . Eq a
    => Eq b
    -> Tuple a b
    -> Tuple a b
    -> Boolean
  ```
  include `indentkeys` for `::`, `->` and `=>`
* indent after identifier starting a new line
  ```
  compare (Tuple a b) (Tuple c d) =
  >>a == c && b == d
  ```
* indent lines with an operator
  - use &shiftwifth
  - do not cascase
* indent lines after a line with opened brackets and not closed
* preserve indentation level of comments
  - I had to add this rule since to accomodate my other changes.
@arthurxavierx arthurxavierx merged commit 6ad5ed9 into purescript-contrib:master Aug 4, 2017
@coot
Copy link
Contributor Author

coot commented Aug 4, 2017

Actually, I am not really sure why I needed to add indentation rule for imports and comments.

@coot coot deleted the indentation branch August 5, 2017 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants