use a wrapped array, not a copy and fix -seq
move destructuring into stdlib