Last active
September 7, 2015 19:45
-
-
Save ghik/c1393c51232b9c43a285 to your computer and use it in GitHub Desktop.
Nothing to see here
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
| scala> type AbsolutelyNothing = Nothing { type MoreNothing = Nothing } | |
| defined type alias AbsolutelyNothing | |
| scala> typeOf[Nothing] <:< typeOf[AbsolutelyNothing] | |
| res0: Boolean = true | |
| scala> typeOf[AbsolutelyNothing] <:< typeOf[Nothing] | |
| res1: Boolean = true | |
| scala> typeOf[Nothing] =:= typeOf[AbsolutelyNothing] | |
| res2: Boolean = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment