"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "STYLE_GUIDE.md" between
ponyc-0.33.1.tar.gz and ponyc-0.33.2.tar.gz

About: Pony is an object-oriented, actor-model, capabilities-secure, high performance programming language.

STYLE_GUIDE.md  (ponyc-0.33.1):STYLE_GUIDE.md  (ponyc-0.33.2)
skipping to change at line 431 skipping to change at line 431
.> append(file_name) .> append(file_name)
.> append(":") .> append(":")
.> append(msg) .> append(msg)
// Not OK // Not OK
Iter[I64](input.values()).take_while({(x: I64): Bool ? => error }) Iter[I64](input.values()).take_while({(x: I64): Bool ? => error })
.collect(Array[I64])) .collect(Array[I64]))
// Not OK // Not OK
output output
.>append(file_name) .> append(file_name)
.>append(":") .> append(":")
.>append(msg) .> append(msg)
``` ```
- Function arguments mostly follow the same rules as arguments in method declara tions. However, all arguments may be placed on the following line with an additi onal level of indentation if all arguments would fit on that line. Otherwise, ar guments must be placed on individual lines. These rules also apply to FFI calls. A `where` keyword and the following arguments may all exist on their own line. - Function arguments mostly follow the same rules as arguments in method declara tions. However, all arguments may be placed on the following line with an additi onal level of indentation if all arguments would fit on that line. Otherwise, ar guments must be placed on individual lines. These rules also apply to FFI calls. A `where` keyword and the following arguments may all exist on their own line.
```pony ```pony
// OK // OK
h.assert_true(Iter[I64](input.values()).any(is_positive)) h.assert_true(Iter[I64](input.values()).any(is_positive))
// OK // OK
Iter[String].chain( Iter[String].chain(
 End of changes. 1 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)