Niffler.run
You're seeing just the function
run
, go back to Niffler module for more information.
Low level function that executes the given Niffler program and
returns any output values. Prefer using the high-level function
Niffler.defnif/4
or Niffler.Library
instead.
Examples
iex> {:ok, prog} = Niffler.compile("$ret = $a << 2;", [a: :int], [ret: :int])
iex> Niffler.run(prog, [5])
{:ok, [20]}