Example 1

out(A) -> Headers = A#arg.headers, {html, io_lib:format("You say that you’re running ~p", [Headers#headers.user_agent])}.