The `Array` constructor takes a `(Int) -> Array...
# announcements
f
The
Array
constructor takes a
(Int) -> Array
function, I have this function
Copy code
nthBits(n: Int, k: Int, index: Int): IntArray
where
bits
,
n
and
k
are all the same always and then I want to pass
index
is this possible?