lpogic (Łukasz Pomietło)
- Login: lpogic
- Registered on: 08/10/2023
- Last sign in: 12/10/2024
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 0 | 1 | 1 |
Like
Activity
12/10/2024
- 01:28 PM Ruby master Feature #20925: Allow boolean operators at beginning of line to continue previous line
- +1. Regarding indentation, I once read that a multi-line "if" condition looks better with "then":
```
if request....
11/29/2024
- 03:52 PM Ruby master Feature #20770: A *new* pipe operator proposal
- AlexandreMagro (Alexandre Magro) wrote in #note-47:
> The pipe operator is well-known, but this type of operation wi...
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"
...
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:
> ... - 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...
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...
- 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 |> ...
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...
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...
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:...
Also available in: Atom