You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2020/12/28 16:34:00 UTC
[jira] [Updated] (ARROW-11028) [Rust] Somewhat pedantic
pattern-matches
[ https://issues.apache.org/jira/browse/ARROW-11028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neal Richardson updated ARROW-11028:
------------------------------------
Summary: [Rust] Somewhat pedantic pattern-matches (was: Somewhat pedantic pattern-matches)
> [Rust] 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
> Assignee: François Garillot
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.0.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> 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)