Anoma.Client.Runner (Anoma v0.29.0)

Summary

Functions

I run the given Nock program with its inputs and return the result.

I turn a list into an improper list. E.g., [1,2,3] -> [1,2|3]

Functions

Link to this function

close_io_sink(io)

@spec close_io_sink(pid()) :: {:error, :timeout} | {:ok, term()}
@spec open_io_sink() :: pid()
Link to this function

prove(program, inputs)

@spec prove(Noun.t(), [Noun.t()]) ::
  {:ok, Noun.t(), [Noun.t()]} | {:error, :failed_to_prove}

I run the given Nock program with its inputs and return the result.

Link to this function

to_improper_list(list)

@spec to_improper_list([any()]) :: maybe_improper_list(any(), any())

I turn a list into an improper list. E.g., [1,2,3] -> [1,2|3]