Created
May 14, 2015 23:26
-
-
Save jroesch/bad59c8df5355a9e1a3d to your computer and use it in GitHub Desktop.
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
Welcome to Scala version 2.11.6 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_05). | |
Type in expressions to have them evaluated. | |
Type :help for more information. | |
scala> trait A[X, Y] { | |
| def bar(y: Y): X | |
| def baz(x: X): Y | |
| } | |
defined trait A | |
scala> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment