defmodule ConcurrentComputing do def print(xs) do Enum.map(xs, fn x -> spawn(fn -> IO.puts x end) end) end end ConcurrentComputing.print ["Enjoy", "Rosetta", "Code"]