General

Profile

iamvery (Jay Hayes)

  • Login: iamvery
  • Registered on: 12/08/2016
  • Last sign in: 02/14/2019

Issues

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

Activity

03/11/2018

11:38 PM Ruby Feature #14585: Array#each_pair
Great explanation, Matthew. Thank you! Sounds like I just need to practice this some more to really get the terminology into my vocabulary :) iamvery (Jay Hayes)

03/10/2018

09:05 PM Ruby Feature #14585: Array#each_pair
Thank you all for the feedback! I agree, and I'm glad your responses matched my intuition. Do you have any suggestions for how one might better remember `each_cons`? Ruby has a history of introducing aliases for the purpose of clarity. C... iamvery (Jay Hayes)

03/07/2018

09:37 PM Ruby Feature #14585 (Open): Array#each_pair
# Abstract
I propose we add the method #each_pair to Array. It would effectively be a name for the common case each_cons(2).
# Background
A few times now, I have wanted to do something pairwise on an array of values. One example...
iamvery (Jay Hayes)

Also available in: Atom