This commit is contained in:
Joey Hess 2014-10-31 12:39:45 -04:00
parent 3dbb44a787
commit 5a6ff0b0f3
1 changed files with 8 additions and 0 deletions

View File

@ -70,6 +70,14 @@ that line up with the open and close punctuation.
, address = "baz"
}
Similarly, data structures line up the leading `=` with the following `|`
data Foo
= Bar
| Baz
| Quux Foo
deriving (Eq, Ord)
Module imports are separated into two blocks, one for third-party modules,
and one for modules that are part of propellor. (Additional blocks can be used
if it makes sense.)