-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
* Can be used as unordered function parameters. This is useful | ||
when you are trying to unify duplicated code. | ||
when you are trying to unify duplicated code. Unordered parameter | ||
lists are very beneficial when you are unifying code that has | ||
common parameters but they are in different order. | ||
* Instead of adding or removing a function parameter, using an | ||
implicit parameter gives less confusing error messages. Once | ||
the code works with the implicit parameter converting it to a real | ||
function parameter is easier. | ||
|
||
* Constraint can be bundled into a type alias. |