What I'm not clear about is when you'd use one form over the other. My natural inclination would be to use the second exclusively, but I'm pretty sure I'm missing something.
> What I'm not clear about is when you'd use one form over the other. My
> natural inclination would be to use the second exclusively, but I'm pretty
> sure I'm missing something.
> --
> Alan Burlison
> --
Seth Tisue and I had an exchange on Scala Language the other day which
should fill in the gaps:
> What I'm not clear about is when you'd use one form over the other. My
>> natural inclination would be to use the second exclusively, but I'm pretty
>> sure I'm missing something.
>> --
>> Alan Burlison
>> --
> Seth Tisue and I had an exchange on Scala Language the other day which
> should fill in the gaps:
A bit. I'm still not 100% clear when you *must* use implicit evidence parameters because nothing else will work. For example, in the toMap example, if you need the supplied list to consist of 2-tuples, why can't you just say that directly using the Tuple2 type?
However, I'm not clear in the toMap case why implicit evidence parameters are necessary and a use of Tuple2 won't work, although I'm struggling to come up with something that the Scala compiler actually likes.
> A bit. I'm still not 100% clear when you *must* use implicit evidence
> parameters because nothing else will work. For example, in the toMap
> example, if you need the supplied list to consist of 2-tuples, why can't
> you just say that directly using the Tuple2 type?
> However, I'm not clear in the toMap case why implicit evidence parameters
> are necessary and a use of Tuple2 won't work, although I'm struggling to
> come up with something that the Scala compiler actually likes.
> Thanks for the link though, it did help some :-)
>> A bit. I'm still not 100% clear when you *must* use implicit evidence
>> parameters because nothing else will work. For example, in the toMap
>> example, if you need the supplied list to consist of 2-tuples, why can't
>> you just say that directly using the Tuple2 type?
>> However, I'm not clear in the toMap case why implicit evidence parameters
>> are necessary and a use of Tuple2 won't work, although I'm struggling to
>> come up with something that the Scala compiler actually likes.
>> Thanks for the link though, it did help some :-)