General

Profile

lpogic (Łukasz Pomietło)

  • Login: lpogic
  • Registered on: 08/10/2023
  • Last sign in: 11/16/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Like

Activity

11/12/2024

11:50 AM Ruby master Feature #20770: A *new* pipe operator proposal
I wonder if the pipeline operator with assignment wouldn't also be useful in everyday code:
``` ruby
str = "ABC"
...
lpogic (Łukasz Pomietło)

11/09/2024

11:57 AM Ruby master Feature #20770: A *new* pipe operator proposal
baweaver (Brandon Weaver) wrote in #note-41:
> Frequently what folks are looking for is a nicer way to say this:
> ...
lpogic (Łukasz Pomietło)
11:37 AM Ruby master Feature #20770: A *new* pipe operator proposal
austin (Austin Ziegler) wrote in #note-40:
> Ruby already *has* pipeline-like method, `#then`. If `|>` or `.{}` act...
lpogic (Łukasz Pomietło)

11/08/2024

11:38 PM Ruby master Feature #20770: A *new* pipe operator proposal
@austin, @AlexandreMagro I understand that this is a creature from the functional world. However, I wonder whether th... lpogic (Łukasz Pomietło)
12:40 PM Ruby master Feature #20770: A *new* pipe operator proposal
What if I need an intermediate result beyond the next step of the method chain?
Cases:
``` ruby
def foo
r |> ...
lpogic (Łukasz Pomietło)

10/07/2024

09:39 AM Ruby master Feature #20786: Flow chaining with "then" keyword
You're right. Thats why I proposed to evaluate rhs conditionally.
The canonical form has a clear *beginning* and *en...
lpogic (Łukasz Pomietło)

10/06/2024

02:04 PM Ruby master Feature #20786 (Rejected): Flow chaining with "then" keyword
Hi,
I would like to propose using the *"then"* keyword to create chained flows.
### Background:
Original idea: h...
lpogic (Łukasz Pomietło)

10/03/2024

09:55 PM Ruby master Feature #20770: A *new* pipe operator proposal
Has *"then"* but as a keyword been considered?
In the basic version it could appear as a *"begin..then..end"* block:...
lpogic (Łukasz Pomietło)

Also available in: Atom