Skip to content

Commit

Permalink
Add line break between heading and list
Browse files Browse the repository at this point in the history
Co-authored-by: Sean T Allen <[email protected]>
  • Loading branch information
shaedrich and SeanTAllen committed Apr 2, 2024
1 parent df19d3d commit db66b51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/expressions/sugar.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ foo3(37, "Hello", 3.5 where a = 2, b = 3) = x
__Does it matter where `value` appears in my parameter list?__ Whilst it doesn't strictly matter it is good practice to put `value` as the last parameter. That way all of the others can be specified by position.

## See also

* [Lambdas](https://tutorial.ponylang.io/expressions/object-literals#lambdas) (_Shortcut for an object with an `apply()` method_)
* [Capability constraints](https://tutorial.ponylang.io/generics/generic-constraints.html) (_Shortcut for [reference capability](https://tutorial.ponylang.io/reference-capabilities/) combinations_)
* [Default reference capabilities](https://tutorial.ponylang.io/generics/generics-and-reference-capabilities) (_Shortcut for implicit default values_)

0 comments on commit db66b51

Please sign in to comment.