Josh Wills created CRUNCH-422:
---------------------------------
Summary: 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
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)