Default values for inferred type parameters in #scala https://gist.github.com/cvogt/8672a3fd97bc97714822 … @extempore2 @retronym Does this break down anywhere?
-
-
@extempore2@cvogt@propensive Common misconception, I think. Parameter infer from return types is so limited most don't realize it exists.3 replies 0 retweets 0 likes -
Replying to @djspiewak
@djspiewak@extempore2@propensive Is there any case where the expected return type affects type arguments that have implicits reffing them?1 reply 0 retweets 0 likes -
Replying to @cvogt2 replies 0 retweets 0 likes
-
Replying to @djspiewak
@djspiewak@cvogt@extempore2 You can't get it to select between two otherwise-ambiguous implicits based on expected type, though.1 reply 0 retweets 0 likes -
Replying to @propensive
@djspiewak@cvogt@extempore2 (He said, with very little confidence...)1 reply 0 retweets 0 likes -
Replying to @propensive
@propensive@cvogt@extempore2 I actually suspect that you can, but I don't have anything like a real use-case off the top of my head.1 reply 0 retweets 0 likes -
Replying to @djspiewak
@djspiewak@cvogt@extempore2 I'm just trying to construct an example, but it would be rich to call it a "real use case", working or not.1 reply 0 retweets 0 likes
@djspiewak @cvogt @extempore2 Yeah, what am I talking about... It works fine!
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.