Skip to content

Commit 3161999

Browse files
author
arbitrary-dev
committed
Add alternative formatting
1 parent 2b2ce6a commit 3161999

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

_style/declarations.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,15 @@ lists:
241241
...
242242
}
243243

244+
Other possibility is to align the open-paren of the parameter lists,
245+
one list per line:
246+
247+
protected def forResource(resourceInfo: Any)
248+
(f: (JsonNode) => Any)
249+
(implicit urlCreator: URLCreator, configurer: OAuthConfiguration): Any = {
250+
...
251+
}
252+
244253
#### Higher-Order Functions
245254

246255
It's worth keeping in mind when declaring higher-order functions the

0 commit comments

Comments
 (0)