[#107430] [Ruby master Feature#18566] Merge `io-wait` gem into core IO — "byroot (Jean Boussier)" <noreply@...>
Issue #18566 has been reported by byroot (Jean Boussier).
22 messages
2022/02/02
[ruby-core:107578] [Ruby master Feature#18585] Promote find pattern to official feature
From:
retro <noreply@...>
Date:
2022-02-14 14:29:56 UTC
List:
ruby-core #107578
Issue #18585 has been updated by retro (Josef Šimánek).
Hello! Is this request related to the whole feature (as described at https://docs.ruby-lang.org/en/3.1/doc/syntax/pattern_matching_rdoc.html) or only to one pattern called "Find pattern" (as described at https://docs.ruby-lang.org/en/3.1/doc/syntax/pattern_matching_rdoc.html#label-Patterns)?
----------------------------------------
Feature #18585: Promote find pattern to official feature
https://bugs.ruby-lang.org/issues/18585#change-96489
* Author: ktsj (Kazuki Tsujimoto)
* Status: Assigned
* Priority: Normal
* Assignee: ktsj (Kazuki Tsujimoto)
----------------------------------------
"Find pattern" has introduced in 3.0 and it is still marked as an experimental.
I don't see any problems, so it is time to promote it to official feature.
(BTW, it was useful when writing code like the following for a practical example.)
```ruby
if ary in [*, {a: 0, b: 1 | 2} => i, *]
...
end
```
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>