def clone_fin

bend-collections@1.0.0.0 · src/containers/bitset.bend:363

import bend-collections@1.0.0.0/src/containers/bitset.bend as Bitset
import Base

363# Two independent bitsets with the same contents (the linear form of sharing).
364def clone_fin(p: Array<Wd> & Array<Wd>, +n: Nat, +d: Nat) -> Bitset & Bitset:
365  (a, b) = p
366  (BS{n, d, a}, BS{n, d, b})

Uses (6)

Used by (1)