[
https://issues.apache.org/jira/browse/CRUNCH-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Wills updated CRUNCH-422:
------------------------------
Attachment: CRUNCH-422.patch
Patch for the same.
> 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
> 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)