You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "François Garillot (Jira)" <ji...@apache.org> on 2020/12/24 13:56:00 UTC

[jira] [Created] (ARROW-11028) Somewhat pedantic pattern-matches

François Garillot created ARROW-11028:
-----------------------------------------

             Summary: Somewhat pedantic pattern-matches
                 Key: ARROW-11028
                 URL: https://issues.apache.org/jira/browse/ARROW-11028
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Rust
            Reporter: François Garillot


Several pattern matches can be rewritten directly using a combinator on either `Option` or `Result`, in a  manner similar to [ARROW-7692]. The pattern-match equivalent often takes a lot more real estate ton convey the same meaning, especially since the combinators in question (`flat_map`, `map`, et al.) are defined in the same way across languages (Scala, Python ...).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)