[
https://issues.apache.org/jira/browse/CRUNCH-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Wills resolved CRUNCH-422.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.11.0
0.8.4
Pushed to master and 0.8.
> Add collect(PartialFunction) methods to Scrunch APIs
> ----------------------------------------------------
>
> Key: CRUNCH-422
> URL: https://issues.apache.org/jira/browse/CRUNCH-422
> Project: Crunch
> Issue Type: Improvement
> Components: Scrunch
> Reporter: Josh Wills
> Assignee: Josh Wills
> Fix For: 0.8.4, 0.11.0
>
> Attachments: CRUNCH-422.patch
>
>
> Scala's collection types support a collect(PartialFunction) method that acts
> like a filter followed by a map, and is implemented by Scala's case syntax,
> as in this blog post:
> http://blog.bruchez.name/2011/10/scala-partial-functions-without-phd.html
> We should add some of this syntactic sugar to the Scrunch collection types.
--
This message was sent by Atlassian JIRA
(v6.2#6252)