Thanks to @huitseeker for the answer, but the fact that `for ((_,_)<-List(1->2))()` needs a filter still seems crazy: http://stackoverflow.com/a/17427067/334519 …
-
-
Replying to @travisbrown
@travisbrown@huitseeker I often avoid for-comprehensions for exactly these kinds of reasons.2 replies 0 retweets 0 likes -
Replying to @d6
.
@d6@huitseeker@travisbrown should the takeaway be avoid for-comprehensions, avoid tuples, or avoid matching on parameterized types?2 replies 0 retweets 0 likes -
Replying to @eed3si9n
@eed3si9n@d6@huitseeker@travisbrown avoid for-comprehensions almost always. Another thing#scala continues to get wrong.2 replies 0 retweets 1 like -
Replying to @dibblego
@dibblego@d6@huitseeker@travisbrown because the semantics is not clear? didn't know `for` was so controversial2 replies 0 retweets 0 likes -
Replying to @eed3si9n
@eed3si9n@d6@huitseeker@travisbrown The final call to map, no type-safety, the filter nonsense...2 replies 0 retweets 1 like -
Replying to @dibblego
@dibblego@eed3si9n@d6@huitseeker@travisbrown I wasn't aware they were not type safe. Can you provide an example?1 reply 0 retweets 0 likes -
Replying to @coltfred
@coltfred@eed3si9n@d6@huitseeker@travisbrown Yeah but won't fit in a twittle.1 reply 0 retweets 0 likes -
Replying to @dibblego
@dibblego@eed3si9n@d6@huitseeker@travisbrown Mind constructing a gist when you have some time? I'm very interested.1 reply 0 retweets 0 likes
@travisbrown @coltfred @eed3si9n @d6 @huitseeker Though the problem starts here: List((1,2),3))
-
-
Replying to @dibblego
@dibblego@eed3si9n@d6@huitseeker Indeed. Working with List[Any] will almost certainly cause pain. Thanks for the example@travisbrown.1 reply 0 retweets 0 likes
New conversation -
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.