capi icon indicating copy to clipboard operation
capi copied to clipboard

`rune.clone()`

Open harrysolovay opened this issue 1 year ago • 0 comments

@tjjfvi's suggestion:

class Rune<T, U, A extends unknown[] = unknown[]> {
  constructor(readonly _prime: (batch: Batch) => Run<T, U>, readonly ..._arguments: A) {}

  // ...

+ clone(){
+   return new this.constructor(this._prime, ...this._arguments)
+ }
}

harrysolovay avatar Mar 23 '23 20:03 harrysolovay