[#92891] Question: ruby 2.7.0-preview1 also upgrades bundler to 2.1.0.pre.1? — Al Snow <jasnow@...>
Tried the new 2.7.0-preview1 upgrade to Ruby and see that bundler is also u=
5 messages
2019/05/30
[#92892] Re: Question: ruby 2.7.0-preview1 also upgrades bundler to 2.1.0.pre.1?
— SHIBATA Hiroshi <hsbt@...>
2019/05/30
Bundler 2.1.0.pree.1 is the expected version.
[#92893] Re: Question: ruby 2.7.0-preview1 also upgrades bundler to 2.1.0.pre.1?
— Al Snow <jasnow@...>
2019/05/30
[ruby-core:92869] [Ruby trunk Feature#15799] pipeline operator
From:
konsolebox@...
Date:
2019-05-28 04:54:17 UTC
List:
ruby-core #92869
Issue #15799 has been updated by konsolebox (K B).
nobu (Nobuyoshi Nakada) wrote:
> duerst (Martin D=FCrst) wrote:
> > As for the assignment, just using parentheses looks confusing to me. It=
's clear we can't use `>=3D` or `|=3D`, but `|>=3D` or some other combinati=
on would be much clearer than just parentheses.
> =
> OK, I separated the right-assign to https://github.com/nobu/ruby/tree/fea=
ture/rassgn-pipeline,
> and another operator https://github.com/nobu/ruby/tree/feature/rassgn-fun=
nel.
`|>=3D` looks heavy. Please consider `|:` instead.
----------------------------------------
Feature #15799: pipeline operator
https://bugs.ruby-lang.org/issues/15799#change-78248
* Author: nobu (Nobuyoshi Nakada)
* Status: Open
* Priority: Normal
* Assignee: =
* Target version: =
----------------------------------------
Implemented the pipeline operator `|>`, a topic of "ruby committers vs the =
world" in RubyKaigi 2019.
Also a casual idea of rightward assignment.
```ruby
1.. |> take 10 |> map {|x| x*2} |> (x)
p x #=3D> [2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
```
https://github.com/nobu/ruby/tree/feature/pipeline
-- =
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=3Dunsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>