Pr. The map {
Case (id, attr)=& gt; {(attr. _1. _1 - & gt; (id - & gt; Attr) _1) _2)}
}
The problem is that the compiler has been an error, think this is not a _1 attr method, but my understanding is that attr is a list of two elements, there should be a _1 method, for each master guide
CodePudding user response:
According to the properties of two elements of a tuple map again