Skip to content

Conversation

karelbilek
Copy link
Contributor

@karelbilek karelbilek commented Oct 26, 2020

this was a function that I found helpful to have.

I tried to follow your style.

@technosophos
Copy link
Member

Should the order of arguments be reversed? One of the things we've tried to do is make it easier to pipe data from one command to the next. Doing tuple 1 2 3 4 5 | chunk 3 feels a little more ergonomic than using a variable in between.

@karelbilek
Copy link
Contributor Author

Oh sure. I rarely use piping and use vars instead so I forgot about this usecase.

@karelbilek
Copy link
Contributor Author

changed, rebased

Copy link
Member

@technosophos technosophos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thank you.

@mattfarina mattfarina merged commit 364146e into Masterminds:master Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants