prepend

prepend value to given collection


Parameters

prepend collection :char :string :literal :pathliteral :binary :block
        value :any

Returns

  • :string
  • :binary
  • :block
  • or  :nothing

Examples

copy
prepend "uro" "Art" ; => "Arturo" prepend [2 3 4] 1 ; => [1 2 3 4] prepend [3 4 5] [1 2] ; => [1 2 3 4 5]

copy
a: "pend" prepend 'a "pre" print a ; prepend

Related