General

Profile

marcandre (Marc-Andre Lafortune)

Issues

Projects

Activity

08/10/2019

08:14 PM Ruby master Misc #16093: Prohibit a "foxtrot merge" instead of a merge commit
Looks good to me. If I'm not mistaken, neither "Rebase and merge" nor "Squash and merge" create merge commits, they a... marcandre (Marc-Andre Lafortune)

08/09/2019

11:59 PM Ruby master Misc #16093: Prohibit a "foxtrot merge" instead of a merge commit
Another +1 for no merge commits.
> Therefore, we have not been able to make a pull request "Merged" when a pull re...
marcandre (Marc-Andre Lafortune)

07/25/2019

05:49 PM Ruby master Bug #16020 (Rejected): Forbid `if` `elsif` without a condition
marcandre (Marc-Andre Lafortune)

07/11/2019

11:57 AM Ruby master Feature #15973: Let Kernel#lambda always return a lambda
knu (Akinori MUSHA) wrote:
> I don't think the lambda flag should be altered after the creation of a proc, because i...
marcandre (Marc-Andre Lafortune)

06/22/2019

04:57 AM Ruby master Feature #9948 (Closed): Safely insert an object into an array
marcandre (Marc-Andre Lafortune)

06/14/2019

02:53 PM Ruby master Feature #15899: String#before and String#after
sawa is right. Just use `partition` and `rpartition`. marcandre (Marc-Andre Lafortune)

06/13/2019

10:03 PM Ruby master Feature #15901: Enumerator::Lazy#eager
zverok (Victor Shepelev) wrote:
> > How about this style?
>
> ```ruby
> [0, 1, 2].lazy {|e| e.map {|n| n + 1 }.m...
marcandre (Marc-Andre Lafortune)

06/12/2019

02:20 PM Ruby master Feature #15918: Pattern matching for Set
Eregon (Benoit Daloze) wrote:
> Did you mean `in Set[1, 2, 3]` ?
I didn't, but it should match too; it's the same...
marcandre (Marc-Andre Lafortune)
01:44 PM Ruby master Feature #15918 (Open): Pattern matching for Set
Currently, `Set` does not respond to `deconstruct`. Shouldn't we implement it using `to_a`?
```
require 'set'
ca...
marcandre (Marc-Andre Lafortune)
01:41 PM Ruby master Feature #15917 (Open): Pattern matching for Struct
`Struct`s respond to `deconstruct`, not to `deconstruct_keys`. Shouldn't we also implement it?
```
A = Struct.new...
marcandre (Marc-Andre Lafortune)

Also available in: Atom