jckarter / clay

The Clay programming language
http://claylabs.com/clay
Other
404 stars 34 forks source link

split `push` to `push` and `pushAll` (and related changes) #384

Closed stepancheg closed 12 years ago

stepancheg commented 12 years ago

Split 'push' and 'pushAll', 'insert' and 'insertAll', 'pushFront' and 'pushFrontAll'.

Basically,

'xxx' adds single element to sequence 'xxxAll' adds sequence elements

This separation makes:

"All" suffix is chosen after Java collections API (List has add, addAll methods). Suggestions of better function names are welcome.