improve docs
allow better optimization of sequence() + fix bug in Array.sequence()