append

++

append value to given collection


Parameters

append collection :char :string :literal :pathliteral :binary :object :block
       value :any

Returns

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

Examples

copy
append "hell" "o" ; => "hello" append [1 2 3] 4 ; => [1 2 3 4] append [1 2 3] [4 5] ; => [1 2 3 4 5]

copy
print "hell" ++ "o!" ; hello! print [1 2 3] ++ [4 5] ; [1 2 3 4 5]

copy
a: "hell" append 'a "o" print a ; hello

copy
b: [1 2 3] 'b ++ 4 print b ; [1 2 3 4]

Related