- :string
- :block
- or :nothing
squeeze
reduce adjacent elements in given collection
Parameters
squeeze collection :string :literal :block
Returns
Examples
copyprint squeeze [1 1 2 3 4 2 3 4 4 5 5 6 7] ; 1 2 3 4 2 3 4 5 6 7
copyarr: [4 2 1 1 3 6 6] squeeze 'arr ; a: [4 2 1 3 6]
copyprint squeeze "hello world" ; helo world