Skip to content

Comments

classlib: kwargs for Pbindef and PbindProxy#6977

Merged
telephon merged 3 commits intosupercollider:3.14from
telephon:topic/kwargs-pbindef
Jun 16, 2025
Merged

classlib: kwargs for Pbindef and PbindProxy#6977
telephon merged 3 commits intosupercollider:3.14from
telephon:topic/kwargs-pbindef

Conversation

@telephon
Copy link
Member

@telephon telephon commented Jun 13, 2025

Purpose and Motivation

Since 3.14, we can write Pbind(freq:8, dur:0.2), for the rc0, I forgot to add the syntax to Pbindef and PbindProxy. The change is trivial: pairs = pairs ++ kwargs. I've adjusted the whole file to use pipes as argument syntax.

The only functional change is here: 0a522a3

Types of changes

  • Documentation
  • New feature

To-do list

  • Code is tested
  • All tests are passing
  • Updated documentation
  • This PR is ready for review
  • Release Notes: I'll edit the relesae note file accordingly.

@telephon telephon added this to 3.14.0 Jun 13, 2025
@capital-G capital-G added the comp: class library SC class library label Jun 13, 2025
Copy link
Contributor

@JordanHendersonMusic JordanHendersonMusic left a comment

Choose a reason for hiding this comment

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

Thanks! Yes I forgot about this too — do you think there are any more places in the code base where key value structures are passed as arguments?

@telephon telephon merged commit 733cfb1 into supercollider:3.14 Jun 16, 2025
25 checks passed
@github-project-automation github-project-automation bot moved this to Done in 3.14.0 Jun 16, 2025
dyfer pushed a commit to dyfer/supercollider that referenced this pull request Jul 16, 2025
…ile (supercollider#6977)

Pbindef and PbindProxy have similar syntax as Pbind now.
The Pdef.sc file uses pipes for arguments uniformly.
Helpfiles are updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: class library SC class library

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants