From: matthew@... Date: 2019-05-28T09:33:33+00:00 Subject: [ruby-core:92873] [Ruby trunk Feature#15799] pipeline operator Issue #15799 has been updated by phluid61 (Matthew Kerwin). `a|:b` means `a | :b` and `a=:b` means `a = :b` ---------------------------------------- Feature #15799: pipeline operator https://bugs.ruby-lang.org/issues/15799#change-78252 * 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 #=> [2, 4, 6, 8, 10, 12, 14, 16, 18, 20] ``` https://github.com/nobu/ruby/tree/feature/pipeline -- https://bugs.ruby-lang.org/ Unsubscribe: