Oi.Result (oi v0.3.0)

Copy Markdown

Execution result: the final drafting memory.

memory is keyed by Orchid io_key, values are Orchid.Param.t().

Summary

Types

t()

@type t() :: %Oi.Result{memory: %{required(String.t()) => Orchid.Param.t()}}

Functions

fetch(result, key)

@spec fetch(t(), String.t()) :: {:ok, Orchid.Param.t()} | :error

new(memory)

@spec new(%{required(String.t()) => Orchid.Param.t()}) :: t()

reify(res, key)

@spec reify(t(), String.t()) :: {:ok, term()} | :error