Restrictioncore-layout-rule
Every item of a phrase is indented, except the items that the constructs below require to be aligned or at the margin.
Tests (1)
- elm / WeirdElseBranchElseNotIndentedTestAn `if` inside a `let` binding whose `else` sits at the binding's own column, to the left of its `if`, is rejected with a WEIRD ELSE BRANCH error.
Discussions
Discuss this restriction·Search the discussions on GitHub
Discussions are on GitHub; one about this restriction has [res:core-layout-rule] in its title.
A Standard Definition of Elm? (Draft version 0.4) © Rupert Smith. The text is licensed under CC BY 4.0: share and adapt it freely, with credit and a link to the licence.