correct apply/3 example

The example in the @doc for Kernel.apply is outdated or incorrect; please see commit.