sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Hamster::Vector#zip
Combine two vectors by "zipping" them together. `others` should be arrays and/or vectors. The corresponding elements from this `Vector` and each of `others` (that is, the elements with the same indices) will be gathered into arrays. If `others` contains fewer elements than this vector, `nil` will be used for padding.
Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/hamster-3.0.0/lib/hamster/vector.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Hamster--Vector-zip-for-pr
# Commit to gitgit add app/server/ruby/vendor/hamster-3.0.0/lib/hamster/vector.rbgit commit -m "better docs for Hamster::Vector#zip"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Hamster--Vector-zip-for-pr
hub pull-request
# Celebrate!