Visitar URL original
Change formatting of `if` expressions by Gabriella439 · Pull Request #1767 · dhall-lang/dhall-haskell · GitHub
Skip to content

Change formatting of if expressions - #1767

Merged
mergify[bot] merged 3 commits into
masterfrom
gabriel/if_formatting
Apr 30, 2020
Merged

mergify[bot] merged 3 commits into
masterfrom
gabriel/if_formatting

Conversation

@Gabriella439

Copy link
Copy Markdown
Collaborator
  • Remove blank lines inside the expression
  • Don't indent the outermost if

* Remove blank lines inside the expression
* Don't indent the outermost `if`
@ari-becker

Copy link
Copy Markdown

If you'll permit me a little bikeshedding, what about:

if   Foo
then Bar
else Baz

i.e. adding whitespace after the if so that the expressions align?

@mergify
mergify Bot merged commit b5456f9 into master Apr 30, 2020
@mergify
mergify Bot deleted the gabriel/if_formatting branch April 30, 2020 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants