Big cleanup
This commit is contained in:
10
Classes/Patterns/PDyn.sc
Normal file
10
Classes/Patterns/PDyn.sc
Normal file
@ -0,0 +1,10 @@
|
||||
Pdyn {
|
||||
*new {
|
||||
arg function, hash;
|
||||
if (hash.isNil) { hash = 10.collect({
|
||||
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".choose })
|
||||
.join("").asSymbol;
|
||||
}
|
||||
^Pfunc({Ndef(hash, function).asMap})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user