Last active
February 25, 2020 08:07
-
-
Save lforite/f06dc2ac64df48277ec2afd3c4270929 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| type Traceable[T] = CorrelationId ?=> T | |
| //then | |
| given cid: CorrelationId = ... | |
| def f(x: Int): Traceable[Int] = ... | |
| f(2) using cid // explicit argument | |
| f(2) // argument is inferred |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment