Sequence Generator

Unfortunately `list` is a keyword so… Sequence 
As for the other generators we should check the type of scalar parameters, in this case we can be more strict on `$currentSize`.