Implementation
Pascal

Be concise.

Be useful.

All contributions dictatorially edited by webmasters to match personal tastes.

Please do not paste any copyright violating resource.

Please try to avoid dependencies to third-party libraries and frameworks.

Other implementations
import std.range;
import std.algorithm.iteration;
import std.stdio;
chain(items1, items2).each!writeln;
[items1, items2].each{|ar| ar.each{|item| p item }}
for _, v := range items1 {
	fmt.Println(v)
}
for _, v := range items2 {
	fmt.Println(v)
}
for i in item1.chain(item2) {
    print!("{} ", i);
}
(map (lambda (x)
       (display x)
       (newline))
     (append items1 items2))
mapM_ print $ items1 ++ items2
for x in items1 + items2:
    print(x)
items1.chain(items2).each{|item| puts item}
(map nil #'print (append items1 items))
for (let item of items1) console.log(item)
for (let item of items2) console.log(item)
items1.ForEach(Console.WriteLine);
items2.ForEach(Console.WriteLine);
print for @items1, @items2;
void print_seq(const auto& ...xs)
{
 (std::for_each(std::begin(xs), std::end(xs), 
           [](const auto& x) { std::cout << x; }), ...);
}

 std::list xs { "hi", "there", "world" }, ys { "lo" "thar" };

 print_seq(xs, ys);
print *,items1,items2