From cc9600c20deb75d6ccd5edce7f0d65d5928870cf Mon Sep 17 00:00:00 2001 From: Josh Nussbaum Date: Mon, 21 Sep 2015 18:51:06 -0400 Subject: [PATCH] Update calling convention to pass params as array --- examples/basic.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/basic.exs b/examples/basic.exs index 3e036fc..6e1ed22 100644 --- a/examples/basic.exs +++ b/examples/basic.exs @@ -6,4 +6,4 @@ defmodule MyLib do attach_function :puts, [:string], :int end -IO.inspect MyLib.puts("Hello world") +IO.inspect MyLib.puts(["Hello world"])