Created
October 13, 2012 21:37
-
-
Save brson/3886216 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
14:36 <@brson> ldleworker: it is a possibility and I think it's been discussed before. there is a somewhat similar | |
notion in the air for accessing common fields of case classes. personally, for this particular case | |
the implementation of `impl Entity : Positioned` is so obvious that struct embedding seems like | |
more than necessary. A simple syntactic transformation would do it, and that's why deriving impls | |
makes more sense to me. (wrt deriving, that is how we expect to implement things like Eq, which are | |
all boilerplate) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment